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. Creating another view for SDI project

Creating another view for SDI project

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

    Hello, SDI(Single document interface) comes with a single view as default (AFAIK), but i want to create more than one view of a single document. How can i do this in SDI? Thanks, Bekir

    realJSOPR 1 Reply Last reply
    0
    • B beko

      Hello, SDI(Single document interface) comes with a single view as default (AFAIK), but i want to create more than one view of a single document. How can i do this in SDI? Thanks, Bekir

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      Look in the Doc/View articles section. There's a couple of articles written that describe exactly how to do that. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      R 1 Reply Last reply
      0
      • realJSOPR realJSOP

        Look in the Doc/View articles section. There's a couple of articles written that describe exactly how to do that. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        R Offline
        R Offline
        Rage
        wrote on last edited by
        #3

        John Simmons / outlaw programmer wrote:

        There's a couple of articles written that describe exactly how to do that

        Really, John ? I did not find anything that comes down to the basic level, only advanced stuff out there. ~RaGE();

        realJSOPR 1 Reply Last reply
        0
        • R Rage

          John Simmons / outlaw programmer wrote:

          There's a couple of articles written that describe exactly how to do that

          Really, John ? I did not find anything that comes down to the basic level, only advanced stuff out there. ~RaGE();

          realJSOPR Offline
          realJSOPR Offline
          realJSOP
          wrote on last edited by
          #4

          I used a technique from one of them last week. It took all of 15 minutes to implement, and was mostly cut/paste. Here's one: http://www.codeproject.com/docview/replacingview.asp[^] Here's another (same author no less): http://www.codeproject.com/docview/switchingviews.asp[^] The second one is the one I used because I need to keep both views around until the app is terminated. The article provides a way to switch views for SDI, MDI, and SplitterWnd apps. The actual point of my original response was to show the person that if he just took the time to search instead of being lazy, he'd find the answer and be on his way a lot faster. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -- modified at 13:57 Thursday 9th February, 2006

          R 1 Reply Last reply
          0
          • realJSOPR realJSOP

            I used a technique from one of them last week. It took all of 15 minutes to implement, and was mostly cut/paste. Here's one: http://www.codeproject.com/docview/replacingview.asp[^] Here's another (same author no less): http://www.codeproject.com/docview/switchingviews.asp[^] The second one is the one I used because I need to keep both views around until the app is terminated. The article provides a way to switch views for SDI, MDI, and SplitterWnd apps. The actual point of my original response was to show the person that if he just took the time to search instead of being lazy, he'd find the answer and be on his way a lot faster. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -- modified at 13:57 Thursday 9th February, 2006

            R Offline
            R Offline
            Rage
            wrote on last edited by
            #5

            Thank you for the links and for your time John. I went to the Doc/View after reading your first post (out of mere curiosity) but obviously missed these two articles. I got stuck on such articles:http://www.codeproject.com/docview/nodoc_views.asp[^] which are a bit more elaborated.

            John Simmons / outlaw programmer wrote:

            The actual point of my original response was to show the person that if he just took the time to search instead of being lazy, he'd find the answer and be on his way a lot faster.

            I was perfectly aware of that and I totally agree with you. No offense meant in my post, it is only that I have been looking for a really simple tutorial and did not expect to have to look that closer to the article list to find that. ~RaGE();

            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