Sizer adapter around a HWND. More...
#include <Sizer.h>
Public Member Functions | |
| WindowSizer (HWND pWindow) | |
| virtual void | OnCalcSizes () |
| virtual void | OnRectChanged (int x, int y, int w, int h) |
Public Member Functions inherited from ISizer | |
| virtual size_t | GetItemCount () |
| virtual ISizer * | GetItem (size_t i) |
| void | CalcSizes () |
| SizerSize | GetMinSize () |
| void | Move (int x, int y, int w, int h) |
| void | Move (const SizerPoint &p, const SizerSize &s) |
| void | Move (const SizerRect &r) |
| SizerRect | GetRect () const |
| void | WmSize (UINT type, int cx, int cy) |
| void | WmGetMinMaxInfo (HWND window, MINMAXINFO *mmi) |
Additional Inherited Members | |
Protected Attributes inherited from ISizer | |
| bool | dirty |
| SizerRect | rect |
| SizerSize | minimumSize |
Sizer adapter around a HWND.
You propably never directly use this class, because all sizers have shortcuts for inserting a window directly. These shortcuts make use of this class.
| WindowSizer::WindowSizer | ( | HWND | pWindow | ) |
| pWindow | The window that this sizer should handle. |
|
inlinevirtual |
Calculates sizes, but does not move the sizer in any way.
Implements ISizer.
|
inlinevirtual |
Moves the sizer and all children.
This function will always be called, even if the sizer is not dirty.
Implements ISizer.
1.8.3.1