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. copying a dialog box

copying a dialog box

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 4 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    how do i copy a dialog box from one project to another?

    2 K 2 Replies Last reply
    0
    • A Anonymous

      how do i copy a dialog box from one project to another?

      2 Offline
      2 Offline
      224917
      wrote on last edited by
      #2

      Add 1st project to the second projects solution. Now from the resource view -> Drag and drop the required *Dialog* between the projects. Remember to hold the "Ctrl" while dragging.


      suhredayan
      There is no spoon.

      1 Reply Last reply
      0
      • A Anonymous

        how do i copy a dialog box from one project to another?

        K Offline
        K Offline
        khan
        wrote on last edited by
        #3

        I assume you have a class connected to the dialog. I also assume that it is an MFC project. I also assume it is VC6. Right-click on the dialog class. A menu appears. Click "Add to Gallery". Then in the other project, go to Project->Add To Project->Components and Controls. Then open the folder for your old application in there. It should have a file called: xxxx.ogx. Add it to your project. It adds the class, as well as the dialog resource. this is this.

        A 1 Reply Last reply
        0
        • K khan

          I assume you have a class connected to the dialog. I also assume that it is an MFC project. I also assume it is VC6. Right-click on the dialog class. A menu appears. Click "Add to Gallery". Then in the other project, go to Project->Add To Project->Components and Controls. Then open the folder for your old application in there. It should have a file called: xxxx.ogx. Add it to your project. It adds the class, as well as the dialog resource. this is this.

          A Offline
          A Offline
          Anonymous
          wrote on last edited by
          #4

          thanx

          R 1 Reply Last reply
          0
          • A Anonymous

            thanx

            R Offline
            R Offline
            Rajesh match
            wrote on last edited by
            #5

            Thanx ... This new thing i leran today!

            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