windows_programming_notes.nbk: Home | Index | Previous Page: WNDCLASS


 WNDCLASSEX

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

Members

cbSize

style

lpfnWndProc

cbClsExtra

cbWndExtra

hInstance

hIcon

hCursor

hbrBackground

When this member is NULL, an application must paint its own background whenever it is requested to paint in its client area. To determine whether the background must be painted, an application can either process the WM_ERASEBKGND message or test the fErase member of the PAINTSTRUCT structure filled by the BeginPaint function.

lpszMenuName

lpszClassName

hIconSm

Structure Information


windows_programming_notes.nbk: Home | Index | Previous Page: WNDCLASS


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