Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
The old Project is based on The Dlg.
The new Project is based on the single Document
I want to show the main dlg of the old project behind the menu in the new project.

who can give some advice?

thanks~~!
Posted
Comments
Richard MacCutchan 12-Jul-12 9:47am    
I want to show the main dlg of the old project behind the menu in the new project.
This does not make much sense, please try and give a better explanation of what you are trying to do.

Take a look here:

Tutorial - Modeless Dialogs with MFC[^]

You will have to include the class, the resource... or put the old dialog in a dll to use it from your app...

Definitely you are not giving a lot of information here (this is for sure why you are not getting answers).

You will have to manage the click on the menu item and then call the dialog using domodal or creating it modelessly.

Check the differences between both modes, decide and try it. If you need further help come back with samples on what you've tried...

Hope this helps.
 
Share this answer
 
No one give a answer.....
 
Share this answer
 
Comments
Richard MacCutchan 12-Jul-12 9:46am    
Don't add comments as a "solution" as it looks like your question has been answered.
Joan M 12-Jul-12 9:50am    
Adding this answer to your question makes the question to look like it's been already answered, it is a bad idea if you want to get answers. ;)

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