ReactOS 0.4.16-dev-91-g764881a
|
#include <window.h>
Public Member Functions | |
WindowClass (LPCTSTR classname, UINT style=0, WNDPROC wndproc=Window::WindowWndProc) | |
ATOM | Register () |
operator ATOM () | |
operator LPCTSTR () | |
Protected Attributes | |
ATOM | _atomClass |
Additional Inherited Members | |
Public Attributes inherited from _WNDCLASSEXA | |
UINT | cbSize |
UINT | style |
WNDPROC | lpfnWndProc |
int | cbClsExtra |
int | cbWndExtra |
HINSTANCE | hInstance |
HICON | hIcon |
HCURSOR | hCursor |
HBRUSH | hbrBackground |
LPCSTR | lpszMenuName |
LPCSTR | lpszClassName |
HICON | hIconSm |
WindowClass is a neat wrapper for RegisterClassEx(). Just construct a WindowClass object, override the attributes you want to change, then call Register() or simply request the ATOM value to register the window class. You don't have to worry calling Register() more than once. It checks if, the class has already been registered.
WindowClass::WindowClass | ( | LPCTSTR | classname, |
UINT | style = 0 , |
||
WNDPROC | wndproc = Window::WindowWndProc |
||
) |
Definition at line 31 of file window.cpp.
|
inline |
Definition at line 241 of file window.h.
|
inline |
Definition at line 230 of file window.h.
Referenced by InitInstance(), operator ATOM(), and operator LPCTSTR().
|
protected |
Definition at line 244 of file window.h.
Referenced by Register(), and WindowClass().