Once I've a status bar i want it to follow the parent window.
I trusted the SBS_SIZEGRIP style was there to do it but it doesn't work. So how can I do?
This is a discussion on still status bar... within the Windows Programming forums, part of the Platform Specific Boards category; Once I've a status bar i want it to follow the parent window. I trusted the SBS_SIZEGRIP style was there ...
Once I've a status bar i want it to follow the parent window.
I trusted the SBS_SIZEGRIP style was there to do it but it doesn't work. So how can I do?
hi
handle the WM_SIZE message for your main wnd (the parent of your status bar) then send a WM_SIZE message to the status bar there:
SendMessage(hwndStatusBar,WM_SIZE,0,0);
thank u so much!!!!!!))