MDI: Single Doc, Multiple Views
-
I've searched all over (CodeProject and the Internet at large) and I have not been able to find the answer to my problem, so here goes. I have an MDI app where I would like to be able to open a document and immediately present the user with multiple views of the same document -- one will be the primary view, and I'd like to have two secondary views. I know that the CDocument class has a member function called AddView(), but I don't know where to add my secondary views. Where would I add my other views -- in MainFrm, ChildFrm, or elsewhere? And would using the AddView() member function be the appropriate way of accomplishing what I'm trying to do? Thanks, Dean
-
I've searched all over (CodeProject and the Internet at large) and I have not been able to find the answer to my problem, so here goes. I have an MDI app where I would like to be able to open a document and immediately present the user with multiple views of the same document -- one will be the primary view, and I'd like to have two secondary views. I know that the CDocument class has a member function called AddView(), but I don't know where to add my secondary views. Where would I add my other views -- in MainFrm, ChildFrm, or elsewhere? And would using the AddView() member function be the appropriate way of accomplishing what I'm trying to do? Thanks, Dean
take a look at: http://www.codeguru.com/doc_view/index.shtml. there are multiple articles there that show how to do multiple views on a single doc. -c
I'm not the droid you're looking for.