Hello gurus.
Problem:
function CreateWindowEx does not create statusbar window, where everything is fine. I am using Visual Studio 8. See following code please:
Where:Code:HWND hwnd = CreateWindowEx( 0, STATUSCLASSNAME,(TCHAR*)NULL, WS_VISIBLE | WS_CHILD | SBARS_SIZEGRIP, 0,0,0,0, parenthwnd, //it is valid (HMENU)unique_ID, //1005 GetModuleHandle(NULL), NULL );
1. I have initialized Common Controls using ICC_BAR_CLASSES, so it is not issue
2. parenthwnd is valid window handle
Question:
1. Why there is no window created ? where hwnd is NULL as result of this function.
2. I am compiling it as UNICODE application, can this be issue?
3. You have any other suggestion using which I can make it work ?
Waiting for the kind reply. It is really strange how statusbar is not being created.
regards




Reply With Quote