From ReliCodia

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

← Previous diff
Revision as of 20:43, 14 March 2005 (Talk | contribs)

Next diff →
Line 40: Line 40:
</tr> </tr>
</table> </table>
 +See also: [[Class Styles]].

Revision as of 20:43, 14 March 2005

The structure WNDCLASSEX is used with RegisterClassEx. (The corresponding structure WNDCLASS used with RegisterClass doesn't contain the cbSize and hIconSm members.)

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 Class 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

See also: Class Styles.