ReactOS  0.4.14-dev-833-g5f692ed
IconWindowClass Struct Reference

window class with specified icon from resources More...

#include <window.h>

Inheritance diagram for IconWindowClass:
Collaboration diagram for IconWindowClass:

Public Member Functions

 IconWindowClass (LPCTSTR classname, UINT nid, 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 specified icon from resources

Definition at line 258 of file window.h.

Constructor & Destructor Documentation

◆ IconWindowClass()

IconWindowClass::IconWindowClass ( LPCTSTR  classname,
UINT  nid,
UINT  style = 0,
WNDPROC  wndproc = Window::WindowWndProc 
)

Definition at line 47 of file window.cpp.

48  : WindowClass(classname, style, wndproc)
49 {
50  hIcon = ResIcon(nid);
52 }
UINT style
Definition: winuser.h:3177
convenient loading of standard (32x32) icon resources
Definition: globals.h:309
NOTIFYICONDATA nid
Definition: magnifier.c:44
HICON hIconSm
Definition: winuser.h:3187
WCHAR classname[128]
Definition: startup.c:15
convenient loading of small (16x16) icon resources
Definition: globals.h:320
WindowClass(LPCTSTR classname, UINT style=0, WNDPROC wndproc=Window::WindowWndProc)
Definition: window.cpp:31
HICON hIcon
Definition: winuser.h:3182

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