How does one copy a dialog resource from one project to another in Visual Studio 6.0 or Embedded VC++ (eVC)?

baash05 picture baash05 · Nov 10, 2008 · Viewed 11.4k times · Source

I've got two branches of code. 1 has a dialog box that the other doesn't, but because of politics the dialog box wasn't moved into the newest branch. Now they want it in...

So is it possible to copy a dialog box from one project to another. There apears to be an export and import feature however it's greyed out.

Answer

Roger Lipscombe picture Roger Lipscombe · Nov 10, 2008

.RC files are simple text files. You can simply copy/paste the DIALOG text from one .RC file to the other. Make sure that you copy the corresponding RESOURCE.H entries as well.

Alternatively, you might be able to open both .RC files and then simply drag-and-drop the dialog from one to the other.