Insert a dialog inside SDI(Pls reply me)
-
I'm developing a dialog based application.Due to some issue i need to insert the dialog inside SDI.So can you pls tell me how to do that job.... Thanks a lot. bu
-
I'm developing a dialog based application.Due to some issue i need to insert the dialog inside SDI.So can you pls tell me how to do that job.... Thanks a lot. bu
I assume this is about how to add the dialog and its resources to the SDI project.
- Copy the source files for the dialog to the SDI project folder.
- Open the resource files (*.rc) for both projects and copy the dialog resource from your dialog project to your SDI project.
- Add resource IDs for all the resources in your dialog in resource.h for the SDI project, don't forget the resource ID for the dialog itself. You can view all the required resources in the .rc file, they usually start with
IDC_
. Make sure the values don't collide with existing values in the SDI project.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown -
I'm developing a dialog based application.Due to some issue i need to insert the dialog inside SDI.So can you pls tell me how to do that job.... Thanks a lot. bu
Hi, I assume you need dialog to be displayed as SDI View. You can use CFormView Derived class for your old dialog. on the resource view using class wizard you can add class for dialog to CFormView derived class. Then set the CFormView derived view as SDI view. Best Regards
-
I'm developing a dialog based application.Due to some issue i need to insert the dialog inside SDI.So can you pls tell me how to do that job.... Thanks a lot. bu
I think you want to insert CFormView class to your project,right?
WhiteSky