Both of ours have the same ammount of parameters, you just space yours out differently, AND the one i am telling you, goes in WM_CREATE: in your WndProc() function
Code:
YOURS:
hwnd = CreateWindowEx(
WS_EX_CLIENTEDGE, // 1
g_szClassName, // 2
"The title of my window", // 3
WS_OVERLAPPEDWINDOW, // 4
CW_USEDEFAULT, // 5
CW_USEDEFAULT, // 6
300, // 7
200, // 8
NULL, // 9
NULL, //10
hInstance, // 11
NULL); // 12
Code:
MINE:
HWND CreateWindowEx(
0, // 1
TEXT("BUTTON"), // 2
TEXT("THIS IS A RADIO BUTTON!"), // 3
WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON, // 4
int x, // 5
int y, // 6
int nWidth, // 7
int nHeight, // 8
HWND hWndParent, // 9
HMENU hMenu, // 10
HINSTANCE hInstance, // 11
LPVOID lpParam // 12
);
See, the same ammount of parameters