Ask for help: About resource file
-
Hello, everyone, I want to copy a dialog from one program's resource file to other program's resource file? I tried , but failed. Who can tell me the right method to do this, Thanks a lot!
-
Hello, everyone, I want to copy a dialog from one program's resource file to other program's resource file? I tried , but failed. Who can tell me the right method to do this, Thanks a lot!
For a conventional (not .NET) application, that uses
.RC
files and aresource.h
file, the most reliable approach is the following: 1. Open bothresource.h
files in the source file editor. 2. Use the "Open With" option in the File Open command to open both.RC
files in the source file editor. 3. Use copy/paste to copy the dialog from one.RC
file to the other. 4. Copy the resource ID's for the dialog and its controls from oneresource.h
to the other. 5. Note that you may have to manually renumber the ID's for the dialog, if they conflict with other ID's already in use. Unfortunately, I don't do .NET programming, so I don't know the procedure there.
Software Zen:
delete this;