Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Ask for help: About resource file

Ask for help: About resource file

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionlearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chenxiujie
    wrote on last edited by
    #1

    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!

    G 1 Reply Last reply
    0
    • C chenxiujie

      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!

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #2

      For a conventional (not .NET) application, that uses .RC files and a resource.h file, the most reliable approach is the following: 1. Open both resource.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 one resource.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;

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups