aswang
1.0
|
#include <Static.h>
Public Member Functions | |
Static (HWND h, window *p=NULL) | |
Static (window *p, unsigned long newStyle=WS_CHILD) | |
virtual | ~Static () |
virtual const _TCHAR * | GetClassName () const |
virtual LRESULT | OnStaticColor (HDC dc, HWND sttc) |
aswang::Static::Static | ( | HWND | h, |
window * | p = NULL |
||
) | [inline] |
aswang::Static::Static | ( | window * | p, |
unsigned long | newStyle = WS_CHILD |
||
) | [inline] |
virtual const _TCHAR* aswang::Static::GetClassName | ( | ) | const [inline, virtual] |
Implements aswang::window.
LRESULT Static::OnStaticColor | ( | HDC | dc, |
HWND | sttc | ||
) | [virtual] |
Set the background color of the control.
This function allows the parent window to have first priority in determining its background color. If the parent window does not override this function, the base implementation will attempt to send the message to the control object as well.
dc | HDC handle sent by the windows API |
sttc | The HWND of the control |
Reimplemented from aswang::window.
Definition at line 26 of file Static.cpp.