Click to See Complete Forum and Search --> : help me!(window question)


rabbit
April 23rd, 1999, 04:15 AM
Generally,In windows 95&98, when we create a window (not toolwindow or child window),there is a button appear on the toolbar in screen bottom.when the window is minimized,we can click the button to restore the window.

my question is How can I delete(or hide) the button after I create a window?

Philippe
April 23rd, 1999, 05:32 AM
Try this :

When the user reduces the window, a WM_SHOWWINDOW message is sent. In the OnShowWindow function, add this code :
ShowWindow(SW_HIDE);

Remember that you surely have to restore the window. Then, in the right function, (different belong what you want to do), add this code :
ShowWindow(SW_SHOW);

Hope this helps you