ajoshi123
09-11-2002, 06:09 AM
Hi !
I have a SDI (document-view) architecture in eVC. Now I want to associate multiple views with a single document.
Say, initially there is a login view. When the user clicks on the login button, the view changes to say the user's details.
I am using CFormView. To each subclass of the CFormView a dialog box is attahed.
The MFC provides a method AddView(CView *pView).
But the creation process of CFormViews has protected access.
How do I solve this problem. Please help !!!
I have a SDI (document-view) architecture in eVC. Now I want to associate multiple views with a single document.
Say, initially there is a login view. When the user clicks on the login button, the view changes to say the user's details.
I am using CFormView. To each subclass of the CFormView a dialog box is attahed.
The MFC provides a method AddView(CView *pView).
But the creation process of CFormViews has protected access.
How do I solve this problem. Please help !!!