Click here to Skip to main content
15,938,218 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I have created a MDI App, where I added a menu to open different forms/view.
On menu click event I want to open clicked form/view. Anyone can help in this.
I am using AddDocument(), but it is not usefull.
I tried OpenDocumentFile()but, it's not finding specified form/view.
To use OpenDocumentFile(), How do I set form/view name?

Thanks in advance.
Posted

1 solution

Ah! the glory of MFC. There is wealth of articles, here at CP. There are a number of articles that show you how to work with multiple views. Take a look Here[^]
 
Share this answer
 
Comments
aamswe 24-Jan-11 22:40pm    
Thanks, for your reply. I have gone through this previously, but did not get any clue. If you can provide any sample or Document for the same topic, It will be appriciated.
aamswe 25-Jan-11 2:52am    
Article "Replacing a view in a doc-view application
By Jorge Lodos" is really very usefull.

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