ReactOS 0.4.15-dev-7998-gdb93cb1
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}
NOTIFYICONDATA nid
Definition: magnifier.c:44
WCHAR classname[128]
Definition: startup.c:15
convenient loading of standard (32x32) icon resources
Definition: globals.h:310
convenient loading of small (16x16) icon resources
Definition: globals.h:321
HICON hIconSm
Definition: winuser.h:3212
UINT style
Definition: winuser.h:3202
HICON hIcon
Definition: winuser.h:3207

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