I am very new to MFC programming and need many advice. ![]()
I'm trying to create a MFC application with 2 different CFormViews, one is the main view and one is the child view. However, I don't want to use the document/view architecture since I don't really need the extra stuf.
so the question is do I need to enable document/view option to use CFormView I tried to create a multple-top level application but I notice when I disable the document/view option the CChildView class can not be easily changed to CFormView. is there a formal method to do this
my 2nd queston is, if I have two different CFormViews and I want to create a new top-level frame that either uses CFormView 1 or 2 based on what the user selects how do I do this many many thanks again ![]()

How to use 2 different CFormViews?
Shady9399
There is no way to use CFormView without a CDocument. Also there is no overhead...
No there is no way. Every class that has the View in its name need a CDocument in some way.
There is a sample here doing exactly this:
http://support.microsoft.com/kb/q141334/