Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm developing an image viewer application based on MFC MDI architecture. In my application have two views(one derived from CView and another from CFormview) added using CMultiDocTemplate and one document by which both the views share data from same document object. The first view(CView) is main view which displays the image and handles user interactions and the second view(CFormView) is only for displaying image parameters. My requirement is on selection of "file open" menu option, I first need to open main view only which displays the image after that while on another menu option(which activates only after first view creation) need to open the second view which displays the parameters associated with first view. My doubt is how to open a particular view in a MDI application which contains more than one view types. Also both the Views should share the data from same Doc object.
Posted
Updated 6-Apr-14 23:24pm
v3

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