this is my code:
Code:
WNDCLASSEX wc;
wc.cbSize = sizeof(WNDCLASSEX);
wc.style = NULL;
wc.lpfnWndProc = WindowProcedurepopup;
wc.cbClsExtra = NULL;
wc.hInstance = Instancepopup;
wc.hIcon = LoadIcon (NULL, IDI_APPLICATION);
wc.hCursor = LoadCursor (NULL, IDC_ARROW);
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
wc.lpszMenuName = NULL;
wc.lpszClassName = Classnamestring;
wc.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
RegisterClassEx (&wc)
it is created for use in a popup window. Do you see what is wrong or is it possible to create a popup window without using this class?
Joossie4