المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Cloning Dialogs in VS2005



C++ Programming
10-03-2009, 12:30 AM
In a C++ MFC application I have a Main dialog and several child dialogs. Now one of these child dialogs I used the Tabbed Dialog (CTabDialog - which had a main dialog and a dialog for each TAB). This worked greatand it has loads of code associated with the many controls on these tabs.

Now I would like to clone this dialog x2.

What is the best way to try and do this?

I am worried about the IDD/IDC etc in the resource.h file.

I can do global exchange for many items in the code.

Has anyone done this before or suggest the scheme to do this.

Many thanks,

Graham

grahamfff