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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Copying MFC Dialog between projects

Copying MFC Dialog between projects

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
6 Posts 3 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
    C NewBe
    wrote on last edited by
    #1

    Is there a way to copy a MFC Dialog from one project to another in Visual Studio7.1? I am trying to bring in two Dialogs from another project, cutting and pasting does not do it...

    I B 2 Replies Last reply
    0
    • C C NewBe

      Is there a way to copy a MFC Dialog from one project to another in Visual Studio7.1? I am trying to bring in two Dialogs from another project, cutting and pasting does not do it...

      I Offline
      I Offline
      includeh10
      wrote on last edited by
      #2

      i use vc 6: in target project, open rc file of source project, then copy the dialog - hope it works in vc 7. includeh10

      C 1 Reply Last reply
      0
      • I includeh10

        i use vc 6: in target project, open rc file of source project, then copy the dialog - hope it works in vc 7. includeh10

        C Offline
        C Offline
        C NewBe
        wrote on last edited by
        #3

        Unfortunately, that does not work

        I 1 Reply Last reply
        0
        • C C NewBe

          Unfortunately, that does not work

          I Offline
          I Offline
          includeh10
          wrote on last edited by
          #4

          did you close source project? you do not need to open source project - copying is done only by target project - from rc file to target includeh10

          1 Reply Last reply
          0
          • C C NewBe

            Is there a way to copy a MFC Dialog from one project to another in Visual Studio7.1? I am trying to bring in two Dialogs from another project, cutting and pasting does not do it...

            B Offline
            B Offline
            BambooMoon
            wrote on last edited by
            #5

            Close both the source and destination projects, then in a VS instance with no open project, open both the projects' *.rc files. You can then cut and paste correctly.

            C 1 Reply Last reply
            0
            • B BambooMoon

              Close both the source and destination projects, then in a VS instance with no open project, open both the projects' *.rc files. You can then cut and paste correctly.

              C Offline
              C Offline
              C NewBe
              wrote on last edited by
              #6

              Thanks Larry, it works....

              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