Click here to Skip to main content
15,168,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Guys, I wanna hide the present dialog(window) when i click a button and got to another window in VC++ 2010. How can I do it? Please give me an example code and Iwanna return to my main parent dialog after clicking the button.
Richard MacCutchan 14-Mar-14 5:03am
If it is a modal dialog then you cannot do that, you need to close the dialog first. Alternatively use a modeless dialog which you can control from within your application.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900