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. Mobile Development
  3. Mobile
  4. Switching views in SDI application

Switching views in SDI application

Scheduled Pinned Locked Moved Mobile
question
5 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.
  • C Offline
    C Offline
    Cedric Moonen
    wrote on last edited by
    #1

    Hello all !! I have a SDI application (using form view) and I would like several views that can be switched via the toolbar (a single view is shown at once). Every view has it's own class and own 'window' and must be linked to the document. Any hints for doing this simply ?? Thanks Cedric Moonen

    J V C 4 Replies Last reply
    0
    • C Cedric Moonen

      Hello all !! I have a SDI application (using form view) and I would like several views that can be switched via the toolbar (a single view is shown at once). Every view has it's own class and own 'window' and must be linked to the document. Any hints for doing this simply ?? Thanks Cedric Moonen

      J Offline
      J Offline
      Joao Paulo Figueira
      wrote on last edited by
      #2

      Are you using the Doc / View framework? Try this: Replacing a view in a doc-view application[^] Read all the comments, as there are bugs in the code that are corrected in the comments. Regards, João Paulo

      1 Reply Last reply
      0
      • C Cedric Moonen

        Hello all !! I have a SDI application (using form view) and I would like several views that can be switched via the toolbar (a single view is shown at once). Every view has it's own class and own 'window' and must be linked to the document. Any hints for doing this simply ?? Thanks Cedric Moonen

        J Offline
        J Offline
        Joao Paulo Figueira
        wrote on last edited by
        #3

        You can also try this one: Creating MDI Programs with eVC++ 3.0[^] Regards, João Paulo

        1 Reply Last reply
        0
        • C Cedric Moonen

          Hello all !! I have a SDI application (using form view) and I would like several views that can be switched via the toolbar (a single view is shown at once). Every view has it's own class and own 'window' and must be linked to the document. Any hints for doing this simply ?? Thanks Cedric Moonen

          V Offline
          V Offline
          VanHlebar
          wrote on last edited by
          #4

          I used this article for my multi view application. http://www.codeproject.com/docview/switchingviews.asp It worked fine for me in both my desktop application and my ppc application. -Eric

          1 Reply Last reply
          0
          • C Cedric Moonen

            Hello all !! I have a SDI application (using form view) and I would like several views that can be switched via the toolbar (a single view is shown at once). Every view has it's own class and own 'window' and must be linked to the document. Any hints for doing this simply ?? Thanks Cedric Moonen

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            Ok, nice!! Thanks :-)! I think I will take the third solution because I just want my views to be hidden and not destroyed. Again, thanks! Cedric

            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