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. SDI to Dialog based

SDI to Dialog based

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
3 Posts 3 Posters 5 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.
  • B Offline
    B Offline
    Binayak
    wrote on last edited by
    #1

    Hi, What is the easy way to convert my SDI MFC program to a dialog based MFC Application? Thanks, Binayak Binayak

    D C 2 Replies Last reply
    0
    • B Binayak

      Hi, What is the easy way to convert my SDI MFC program to a dialog based MFC Application? Thanks, Binayak Binayak

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Create a dialog-based application, and copy over the relevant files.

      1 Reply Last reply
      0
      • B Binayak

        Hi, What is the easy way to convert my SDI MFC program to a dialog based MFC Application? Thanks, Binayak Binayak

        C Offline
        C Offline
        Chris Meech
        wrote on last edited by
        #3

        I was going to post, "Start Over", but that would be cruel. :-O However, that's most likely what you should be doing. Start a brand new dialog based application side by side with your SDI one. Then you will have to cut'n paste from the SDI classes, MainFrame/Document/View, the stuff you need to put into the Dialog class. But be careful, cause there is a whole lot of functionality that won't be coming across too well. Things like printing, file handling just don't fit the dialog based app model. Good Luck. :) Chris Meech "what makes CP different is the people and sense of community, things people will only discover if they join up and join in." Christian Graus Nov 14, 2002. Oh and for those that ask programming questions in the lounge. Seek the truth here[^].

        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