I have searched the forum for answers to my question, but it seems that its still now working, even with the answers other people already received.
I use Dev-C++
Ive made sure it loads
../lib/libodbccp32.a
../lib/libcomctl32.a
But it doesnt show the status bar at all.Ive used error checks, but it seems that its all running fine?Can someone help me on this?Code:#include <commctrl.h> #define IDC_MAIN_STATUS 1001 HWND hStatus; int statwidths[] = {100, -1}; InitCommonControls(); hStatus = CreateWindowEx(NULL, STATUSCLASSNAME, NULL, WS_CHILD | WS_VISIBLE, 0, 0, 0, 0, hwnd, (HMENU)IDC_MAIN_STATUS, GetModuleHandle(NULL), NULL); SendMessage(hStatus, SB_SETPARTS, 3, (LPARAM) statwidths); SendMessage(hStatus, SB_SETTEXT, 0, (LPARAM) "some text 1");
EDIT:
I actually even think it isnt compiling...altough there are no error messages.When i change something in my program, it doesnt appear on screen..?



LinkBack URL
About LinkBacks


