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. Need help with SDI app

Need help with SDI app

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
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.
  • D Offline
    D Offline
    Daniel1324
    wrote on last edited by
    #1

    I have an SDI app thats based on CFormView. Lets say I have two dialog forms. When the program starts, it will start with one of them as its main view. I want to have an option to switch to the other dialog form, and have it as the main view. I'm not sure how to do that. Basically, what I have is two SDI apps, both based on CFormView. I want to combine those two into one SDI, CFormView based app. Can anybody help me on this? It may be easier with an MDI app, but I'd rather use SDI. I hope I've made myself clear, if not, I'll try to explain it better. I'm not good at explaining things. Thanks!

    M R 2 Replies Last reply
    0
    • D Daniel1324

      I have an SDI app thats based on CFormView. Lets say I have two dialog forms. When the program starts, it will start with one of them as its main view. I want to have an option to switch to the other dialog form, and have it as the main view. I'm not sure how to do that. Basically, what I have is two SDI apps, both based on CFormView. I want to combine those two into one SDI, CFormView based app. Can anybody help me on this? It may be easier with an MDI app, but I'd rather use SDI. I hope I've made myself clear, if not, I'll try to explain it better. I'm not good at explaining things. Thanks!

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      Daniel1324 wrote: It may be easier with an MDI app, but I'd rather use SDI. Switching Views in a Single Document Interface Program[^] Michael But you know when the truth is told, That you can get what you want or you can just get old, Your're going to kick off before you even get halfway through. When will you realise... Vienna waits for you? - "The Stranger," Billy Joel

      D 1 Reply Last reply
      0
      • M Michael P Butler

        Daniel1324 wrote: It may be easier with an MDI app, but I'd rather use SDI. Switching Views in a Single Document Interface Program[^] Michael But you know when the truth is told, That you can get what you want or you can just get old, Your're going to kick off before you even get halfway through. When will you realise... Vienna waits for you? - "The Stranger," Billy Joel

        D Offline
        D Offline
        Daniel1324
        wrote on last edited by
        #3

        Thanks!

        1 Reply Last reply
        0
        • D Daniel1324

          I have an SDI app thats based on CFormView. Lets say I have two dialog forms. When the program starts, it will start with one of them as its main view. I want to have an option to switch to the other dialog form, and have it as the main view. I'm not sure how to do that. Basically, what I have is two SDI apps, both based on CFormView. I want to combine those two into one SDI, CFormView based app. Can anybody help me on this? It may be easier with an MDI app, but I'd rather use SDI. I hope I've made myself clear, if not, I'll try to explain it better. I'm not good at explaining things. Thanks!

          R Offline
          R Offline
          Renjith Ramachandran
          wrote on last edited by
          #4

          dont worry. i am planning to post an article on Form Switching in SDI application. :) I want to change ..Can u help me? :)

          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