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 with multiple document templates

SDI with multiple document templates

Scheduled Pinned Locked Moved C / C++ / MFC
wpfquestion
2 Posts 1 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.
  • M Offline
    M Offline
    mark gooding
    wrote on last edited by
    #1

    Hello all, I have created an SDI application with multiple document templates. When I click new file I get the option of which document type to create, which is nice. However if I create a document of a different type the current document then a new frame gets opened and I end up with one frame for each document type. I was hoping to get just the one frame, and to be able to switch the document type. Any suggestions as to how I can achieve this? Cheers, Mark

    M 1 Reply Last reply
    0
    • M mark gooding

      Hello all, I have created an SDI application with multiple document templates. When I click new file I get the option of which document type to create, which is nice. However if I create a document of a different type the current document then a new frame gets opened and I end up with one frame for each document type. I was hoping to get just the one frame, and to be able to switch the document type. Any suggestions as to how I can achieve this? Cheers, Mark

      M Offline
      M Offline
      mark gooding
      wrote on last edited by
      #2

      anyone? Thought I'd try killing the old frame when the new one opened to appear as if it was the same frame. Unfortunately the first frame is the main application window, so when that is closed the whole application closes - bye bye new window too. Hmmm I'm really surprised that this doesn't seem possible! Mark

      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