-
CDialog VS CFormView
Hi,
I made an old dialog based application but I need to convert it to use a Doc/View model (SDI). My application uses tabs to display different controls and GUI. Since most of the dialog boxes are derived from the CDialog class, I was wondering if I could still use them and call them from a CFormView derived class in my SDI or will I need to convert them to a CFormView derived object to work. Thanks
Amish
-
I don't think it's possible to "call" CDialog derivates from CFormView if you mean "embed" by that.
-
If you used the resource editor to create your dialogs, then you can use those resources with your CFormView derived classes. Then it's just a matter of creating the message handlers, and moving your old code into the new message handlers.
I'm not sure what CDialog derived functions you are calling, but the only ones which CFormView will support are the ones that come from the CWnd class.
-
That's what I thought. Thanks for the clarification
Amish