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

I have an MFC SDI Application that has the usual Document and View class associated with it. I am trying to incorporate another View in this SDI Application that will be displayed when selected as an option from the Menu. Could anyone suggest on how do I link this new View class to my existing SDI application that gets displayed when the option is selected from the menu? Have been searching for quite sometime now and haven't been able to figure out the best way to do this.

Thanks in advance.
Posted
Comments
Albert Holguin 10-Jan-12 9:31am    
I do believe there's an article on this subject here on CP... please make sure that you do a search first on the site before asking.
Mobile.Instinct 10-Jan-12 9:39am    
Could you please link me to that?
Mobile.Instinct 10-Jan-12 9:45am    
I got it thanks !! http://www.codeguru.com/cpp/w-d/doc_view/viewmanagement/article.php/c3341

Here[^] is a great article on MSDN to get you started adding views like a pro.

-DrB
 
Share this answer
 
Comments
Mobile.Instinct 12-Jan-12 4:21am    
Thanks!
CDocument::AddView
 
Share this answer
 

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