Showing and Hiding a Window
Hi,
I was writing a program an interface kind of like windows installer wizards or other wizards. For example, I have a main screen, you choose an option and click next. The new window is exactly the same size, and the buttons in the corner are still there. However, new stuff appears in the middle. My problem is, I didn't want to put all the different buttons on one dialog and just show and hide them depending on what I'm doing. So I decided to have several different dialogs. Once I tried it out, though, I found out if you moved the new dialog, you could still see the main screen behind it. So I thought I would try to use
Code:
ShowWindow(hwnd, SW_HIDE);
and it works, but the little bar containing the program name at the bottom of the screen disappears! Does anyone know how to keep this from happening or know a better way? Thanks.