ReactOS  0.4.14-dev-1007-g90d795b
BtnWindowClass Struct Reference

window class with gray background color More...

#include <window.h>

Inheritance diagram for BtnWindowClass:
Collaboration diagram for BtnWindowClass:

Public Member Functions

 BtnWindowClass (LPCTSTR classname, UINT style=0, WNDPROC wndproc=Window::WindowWndProc)
 
- Public Member Functions inherited from WindowClass
 WindowClass (LPCTSTR classname, UINT style=0, WNDPROC wndproc=Window::WindowWndProc)
 
ATOM Register ()
 
 operator ATOM ()
 
 operator LPCTSTR ()
 

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
 
- Protected Attributes inherited from WindowClass
ATOM _atomClass
 

Detailed Description

window class with gray background color

Definition at line 248 of file window.h.

Constructor & Destructor Documentation

◆ BtnWindowClass()

BtnWindowClass::BtnWindowClass ( LPCTSTR  classname,
UINT  style = 0,
WNDPROC  wndproc = Window::WindowWndProc 
)
inline

Definition at line 250 of file window.h.

251  : WindowClass(classname, style, wndproc)
252  {
253  hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
254  }
UINT style
Definition: winuser.h:3177
WCHAR classname[128]
Definition: startup.c:15
HBRUSH hbrBackground
Definition: winuser.h:3184
WindowClass(LPCTSTR classname, UINT style=0, WNDPROC wndproc=Window::WindowWndProc)
Definition: window.cpp:31
#define COLOR_BTNFACE
Definition: winuser.h:918

The documentation for this struct was generated from the following file: