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. Moving a dialog from one program to another

Moving a dialog from one program to another

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

    Is it possible to move a dialog from one program to another easily? it seems strange that i cant find a way to export/import dialogs from one project to another.. thanks! I miss the beach!

    C P 2 Replies Last reply
    0
    • E esapp420

      Is it possible to move a dialog from one program to another easily? it seems strange that i cant find a way to export/import dialogs from one project to another.. thanks! I miss the beach!

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      1. copy the .cpp and .h by hand. 2. open the "source" project's .RC file, copy the dialog (Ctrl-C in the resource editor) 3. paste it into th "target" project's resource tree -c


      Cheap oil. It's worth it!

      ISEffects - effects for images

      1 Reply Last reply
      0
      • E esapp420

        Is it possible to move a dialog from one program to another easily? it seems strange that i cant find a way to export/import dialogs from one project to another.. thanks! I miss the beach!

        P Offline
        P Offline
        Prem Kumar
        wrote on last edited by
        #3

        Hi, In the Project workspace->ClassView, Select the Dialog Class you want to resue and right click and select 'Add to Gallery' The whole Dialog's class and implementation classes will be packaged into one single class and you can insert them into what ever you want by using Projects->Add To Project->Components & Controls And then in Components and Controls Gallery you can you will find your Dialog as a single package. Regards, Prem

        D 1 Reply Last reply
        0
        • P Prem Kumar

          Hi, In the Project workspace->ClassView, Select the Dialog Class you want to resue and right click and select 'Add to Gallery' The whole Dialog's class and implementation classes will be packaged into one single class and you can insert them into what ever you want by using Projects->Add To Project->Components & Controls And then in Components and Controls Gallery you can you will find your Dialog as a single package. Regards, Prem

          D Offline
          D Offline
          DarrollWalsh
          wrote on last edited by
          #4

          Thanks Prem, All these years and I did everything by hand. I owe you one. Darroll

          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