windows_programming_notes.nbk: Home | Index | Next Page: WNDCLASSEX | Previous Page: WM_WININICHANGE


 WNDCLASS

The WNDCLASS structure contains the window class attributes that are registered by the RegisterClass function.

This structure has been superseded by the WNDCLASSEX structure used with the RegisterClassEx function. You can still use WNDCLASS and RegisterClass if you do not need to set the small icon associated with the window class.

Syntax

    typedef struct {
        UINT style;
        WNDPROC lpfnWndProc;
        int cbClsExtra;
        int cbWndExtra;
        HINSTANCE hInstance;
        HICON hIcon;
        HCURSOR hCursor;
        HBRUSH hbrBackground;
        LPCTSTR lpszMenuName;
        LPCTSTR lpszClassName;
    } WNDCLASS, *PWNDCLASS;

Members

Structure Information


windows_programming_notes.nbk: Home | Index | Next Page: WNDCLASSEX | Previous Page: WM_WININICHANGE


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time