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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide Main Window

Status
Not open for further replies.

TheCrappyProgrammer

Programmer
Sep 17, 2001
41
US
How do I hide and show windows and dialogue boxes in an MFC Application?
 
pWnd->ShowWindow(SW_HIDE);
pWnd->ShowWindow(SW_SHOW);

where pWnd is the CWnd* pointer to your window.

HTH, s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top