well know,there have some member in the WNDCLASSEX,such as
lpfnWndProc,hIcon,i know "lp" represent to long pointer,"h" represent
to handle.but what does "cb" in cbSize represent to.

thank u for tell me.
Posted on 2004-10-22 22:36:54 by geegle
iirc bc is bit or byte count :), you should see a dissasembly moving the size for whatch if is a byte or bits count... also i go more for bits count .... in some way.
Posted on 2004-10-23 00:15:51 by rea
From MSDN:



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;

UINT = unsigned int = DWORD

I believe 'cb' stands for 'count in bytes'.
Posted on 2004-10-23 13:06:21 by Greg