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

minimizing problem

Status
Not open for further replies.

marty13

Programmer
Jul 15, 2003
11
CA
Hi, I have a simple problem here but I don't know how to fix this. I have a cdialog based application with a menu. When the user chooses what he wants, the program opens a new window like so :
Code:
m1p1_pr m1p1_prev_form;
	m1p1_prev_form.DoModal();
But then, the menu is not closed and i cant minimize my application since he can only access the top window. I would like to know how to close that menu when a choice is made. Then I'll be able to make a new menu after the 2nd window is closed since it's the same DoModal() function.
Hope someone can help me fix that little problem, thx ^_^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top