Multiple views wired to same CDocument, not with CMultiDocTemplate
Hi,
Currently I have a quite advanced MDI application that has 5 views to the same document. I created these views with CMultiDocTemplate, realizing now that I don't have one document, I have 5 instances of the same CDocument class. This is of course quite a problem for me. So, how can I wire all 5 views (CFormView based) to the same document? I've searched quite a bit but apparently haven't found anything that creates a CFormView and attaches it to an existing document. Any help is greatly appreciated
-OC
Re: Multiple views wired to same CDocument, not with CMultiDocTemplate
I fixed it using CCreateContext with each CMultiDocTemplate linking to only one instant of the same document class.