bsp
|
Inherited by WButton, WCombo, WEdit, WList, WListView, WPropertyGrid, and WStatic.
Public Member Functions | |
WControl (HWND parent, int id, char *text, int cx, int cy, int width, int height) | |
WControl (HWND parentdlg, int id, bool subclass=false) | |
virtual LRESULT | WndProc (UINT msg, WPARAM wParam, LPARAM lParam) |
bool | Create () |
LRESULT | SendMessage (UINT msg, WPARAM wParam, LPARAM lParam) |
void | SetCaption (char *caption) |
void | SetFont (HFONT font, int redraw=0) |
Static Public Member Functions | |
static LRESULT CALLBACK | MsgRouter (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
Public Attributes | |
HWND | hwnd |
WNDCLASSEX | wc |
WNDATTR | attr |
char | caption [256] |
WNDPROC | oldwndproc |
Protected Attributes | |
bool | created |