Moving a dialog from one program to another
-
Is it possible to move a dialog from one program to another easily? it seems strange that i cant find a way to export/import dialogs from one project to another.. thanks! I miss the beach!
1. copy the .cpp and .h by hand. 2. open the "source" project's .RC file, copy the dialog (Ctrl-C in the resource editor) 3. paste it into th "target" project's resource tree -c
Cheap oil. It's worth it!
-
Is it possible to move a dialog from one program to another easily? it seems strange that i cant find a way to export/import dialogs from one project to another.. thanks! I miss the beach!
Hi, In the Project workspace->ClassView, Select the Dialog Class you want to resue and right click and select 'Add to Gallery' The whole Dialog's class and implementation classes will be packaged into one single class and you can insert them into what ever you want by using Projects->Add To Project->Components & Controls And then in Components and Controls Gallery you can you will find your Dialog as a single package. Regards, Prem
-
Hi, In the Project workspace->ClassView, Select the Dialog Class you want to resue and right click and select 'Add to Gallery' The whole Dialog's class and implementation classes will be packaged into one single class and you can insert them into what ever you want by using Projects->Add To Project->Components & Controls And then in Components and Controls Gallery you can you will find your Dialog as a single package. Regards, Prem
Thanks Prem, All these years and I did everything by hand. I owe you one. Darroll