WNDCLASSEX

From ReliCodia

(Difference between revisions)
Revision as of 02:16, 28 November 2004
216.231.56.29 (Talk | contribs)

← Previous diff
Revision as of 02:22, 28 November 2004
216.231.56.29 (Talk | contribs)

Next diff →
Line 1: Line 1:
<table border="1"> <table border="1">
 + <tr>
 + <th>Type</td> <th>Name</th> <th>Description</th>
<tr> <tr>
<td>UINT</td> <td> cbSize</td> <td>The size of this structure, sizeof (WNDCLASSEX)</td> <td>UINT</td> <td> cbSize</td> <td>The size of this structure, sizeof (WNDCLASSEX)</td>
Line 13: Line 15:
</tr> </tr>
<tr> <tr>
- <td>int</td> <td> cbWndExtra</td> <td>Extra storage per each window of this class</td>+ <td>int</td> <td> cbWndExtra</td> <td>Extra storage per each window of this class. Must be set to DLGWINDOWEXTRA for a dialog box class</td>
</tr> </tr>
<tr> <tr>
- <td>HINSTANCE</td> <td> hInstance</td> <td>Identifies this instance of the application</td>+ <td>HINSTANCE</td> <td> hInstance</td> <td>Identifies this instance of the application. More precisely, the instance that contains the window procedure</td>
</tr> </tr>
<tr> <tr>
Line 28: Line 30:
</tr> </tr>
<tr> <tr>
- <td>LPCTSTR</td> <td> lpszMenuName</td> <td>Menu</td>+ <td>LPCTSTR</td> <td> lpszMenuName</td> <td>Menu, if defined in a resource file</td>
</tr> </tr>
<tr> <tr>

Revision as of 02:22, 28 November 2004

Type Name Description
UINT cbSize The size of this structure, sizeof (WNDCLASSEX)
UINT style Class style
WNDPROC lpfnWndProc Window procedure
int cbClsExtra Extra storage per window class
int cbWndExtra Extra storage per each window of this class. Must be set to DLGWINDOWEXTRA for a dialog box class
HINSTANCE hInstance Identifies this instance of the application. More precisely, the instance that contains the window procedure
HICON hIcon Window icon
HCURSOR hCursor Mouse cursor when hovering over a window of this class
HBRUSH hbrBackground Window background
LPCTSTR lpszMenuName Menu, if defined in a resource file
LPCTSTR lpszClassName The name given to this class
HICON hIconSm Small icon