Hi,
In my program I wanted to allow the user/player to optionally be able to turn off the window thinbasic menubar. (see pic menuON)
The problem I get is when the menu is removed I lose the right vertical scrollbar and the statusbar is not re-shown correctly. (see pic menuOFF)
However, If i resize the window physically by even a pixel with the mouse then the display snaps back to display all controls correctly - and the problem is gone! (see pic menuOK)
Is there a way or how do I send a message event to the window callback routine to do this automatically by firing some kind of resize event that will trigger the desired effect and avoid the situation in pic menuOFF ?
Thanks.
catventure.
PS. Same thing happens if I were to invoke maximize window with;
win_show hwnd, %SW_MAXIMIZE
I lose right vertical scrollbar and statusbar not positioned properly UNTIL I use mouse on window restore button - everything now OK!
Bookmarks