Dynamic Creation of an object
I have this SDI program with a CFormView class. This object creates a tab control object CTabControl which is derived from CTabCtrl (I know some would say use property sheets but there is a reason for my madness :) and sets it up with two tabs. Everything is fine up to there.
I also have two other CFormView objects (with their associated dialogs in the resouce) created using the wizard in MSVS .NET 2003. What I need to know is how to create these two windows using Dynamic Creation. I have never worked with Dynamic Creation in MFC and I would really appreciate a little snippet of code explaining how to do that. Thanks a lot,