Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open new dialog box and close present

Status
Not open for further replies.

b4bala

Technical User
Dec 7, 2001
6
US
Hi,

My application has 3 dialog boxes. The first dialog box that appears will have two buttons as options for the remaining two dialog boxes. When one of the buttons is pressed, I want to close the existing dialog box and open the corresponding new one.
I open it as a modaless dialog and closed the existing dialog, but then it doesnot appear on the taskbar as running application.
Any suggestions?

Thanks
Bala
 
To hide a window (without its appearing on the taskbar) use ShowWindow(hWnd, SW_HIDE); and to restore it - use ShowWindow( hWnd, SW_SHOWNORMAL);
To iconize a window (with appearing on the taskbar) use ShowWindow(hWnd, SW_MINIMIZE);and to restore it - use ShowWindow( hWnd, SW_RESTORE);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top