class csDialog : public csComponent The Dialog class is a single-colored canvas which contains a number of child controls
The Dialog class is a single-colored canvas which contains a number of child controls. The dialog can perform a number of operations on its childs such as switching between them using Tab/ShiftTab key, activating the default button when Enter is pressed etc.Other uses for csDialog class are for floating toolbars. They can be even resizeable; to create a floating toolbar you should create a stand-alone dialog object, setting his DragStyle to CS_DRAG_MOVEABLE and, possibly, CS_DRAG_SIZEABLE. In this case dialog will act as a standalone window; it would be good if you specify its frame style to csdfsAround: in this case it will look like a usual window but without titlebar.
int GridX
bool SnapSizeToGrid
csComponent* first
int BorderWidth
csDialog(csComponent *iParent, csDialogFrameStyle iFrameStyle = csdfsNone)
virtual void Draw()
virtual bool HandleEvent(csEvent &Event)
void SetAutoGrid(int iDeltaX, int iDeltaY, bool iSnapSize)
virtual bool SetRect(int xmin, int ymin, int xmax, int ymax)
virtual void SuggestSize(int &w, int &h)
void GetBorderSize(int &w, int &h)
virtual void FixSize(int &newW, int &newH)
static bool do_topleft(csComponent *comp, void *param)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de