Creating child windows with forms
Posted on 1999-01-09
I am a very new VC++6/MFC programmer. I have just been using AppWizard to create a standard application, based on CFormView, which when run shows a form in a window which also has a menu etc.. Entirely standard document/view stuff.
What I am really looking to do is to create a main window which displays a form, and then to create via menu options several child windows which all have their own unique forms, all based on the document/view architecture. The App Wizard doesn't really show you how to manage forms in this way; it forces you to use MDI, or it allows you to create just one form in one window.
I would be very grateful if someone could give me the code to use for creating a child window, with a form (view and document) in it. I am actually looking for code to create an unlimited number of different types of child forms.