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. Dialogs from MFC resources

Dialogs from MFC resources

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studioquestion
4 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.
  • A Offline
    A Offline
    Axonn Echysttas
    wrote on last edited by
    #1

    Hi everybody. Something seems weird to me in the MFC, maybe I just haven't explored all options, but it looks like I can't export one of my interfaces from the project. I designed a new DIALOG, and its saved by the VC++6 IDE in the resources of the project. Now... what if I will make in the future a similar project and I just want to copy-paste that interface in my new project. It seems that I can't export the dialogue at all!!! So do I have to re-create dialogues from scratch? I don't think so. I think I'm missing something. -= E C H Y S T T A S =- The Greater Mind Balance

    I 1 Reply Last reply
    0
    • A Axonn Echysttas

      Hi everybody. Something seems weird to me in the MFC, maybe I just haven't explored all options, but it looks like I can't export one of my interfaces from the project. I designed a new DIALOG, and its saved by the VC++6 IDE in the resources of the project. Now... what if I will make in the future a similar project and I just want to copy-paste that interface in my new project. It seems that I can't export the dialogue at all!!! So do I have to re-create dialogues from scratch? I don't think so. I think I'm missing something. -= E C H Y S T T A S =- The Greater Mind Balance

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

      You do not need to re-create dialogue. You just need open your new project . then open the “ResourceView" ---> "Dialog", then use main menu "File" "open" ,choose your old project's resource file(*.rc), and open it. Finally copy-paste between the two resource file.(I usually drag the old dialog into the new project). I am sorry for my poor English not to express myself clearly. libo China

      A 1 Reply Last reply
      0
      • I Intertherain

        You do not need to re-create dialogue. You just need open your new project . then open the “ResourceView" ---> "Dialog", then use main menu "File" "open" ,choose your old project's resource file(*.rc), and open it. Finally copy-paste between the two resource file.(I usually drag the old dialog into the new project). I am sorry for my poor English not to express myself clearly. libo China

        A Offline
        A Offline
        Axonn Echysttas
        wrote on last edited by
        #3

        Thanks Intertherain ::- ). It works! -= E C H Y S T T A S =- The Greater Mind Balance

        R 1 Reply Last reply
        0
        • A Axonn Echysttas

          Thanks Intertherain ::- ). It works! -= E C H Y S T T A S =- The Greater Mind Balance

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

          1)Go to class view 2)Right click dialog class 3)select Add to Gallary 4)open new project 5)select projetct->Add to project 6)select component and controls 7)Class as well as dialog will add to project

          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