aswang  1.0
Public Member Functions
aswang::Static Class Reference

#include <Static.h>

+ Inheritance diagram for aswang::Static:

List of all members.

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)

Detailed Description

Definition at line 24 of file Static.h.


Constructor & Destructor Documentation

aswang::Static::Static ( HWND  h,
window p = NULL 
) [inline]

Definition at line 26 of file Static.h.

aswang::Static::Static ( window p,
unsigned long  newStyle = WS_CHILD 
) [inline]

Definition at line 27 of file Static.h.

virtual aswang::Static::~Static ( ) [inline, virtual]

Definition at line 28 of file Static.h.


Member Function Documentation

virtual const _TCHAR* aswang::Static::GetClassName ( ) const [inline, virtual]

Implements aswang::window.

Definition at line 30 of file Static.h.

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.

Parameters:
dcHDC handle sent by the windows API
sttcThe HWND of the control
Returns:
The HBRUSH handle

Reimplemented from aswang::window.

Definition at line 26 of file Static.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines