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. MDI as SDI app?

MDI as SDI app?

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 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
    clintsinger
    wrote on last edited by
    #1

    Hi All, I need to make a program that uses one document but multiple views in the same way that an MDI app would do it, ie ChildFrame/View combination. Anyone have any ideas how I would attack this? Cheers, Clint

    T 1 Reply Last reply
    0
    • C clintsinger

      Hi All, I need to make a program that uses one document but multiple views in the same way that an MDI app would do it, ie ChildFrame/View combination. Anyone have any ideas how I would attack this? Cheers, Clint

      T Offline
      T Offline
      twing
      wrote on last edited by
      #2

      i suggest two probable ways: First, you can put your saved data into CMainFrame. Then use afxgetMainWnd() to get them needed. Two, you can mark every doc with a label. Then use cdoctemplate to enum every doc and pick up your needing one. How do you feel? Hello World!

      A 1 Reply Last reply
      0
      • T twing

        i suggest two probable ways: First, you can put your saved data into CMainFrame. Then use afxgetMainWnd() to get them needed. Two, you can mark every doc with a label. Then use cdoctemplate to enum every doc and pick up your needing one. How do you feel? Hello World!

        A Offline
        A Offline
        Azghar Hussain
        wrote on last edited by
        #3

        Hi, I think you can Create Document Template Dynamically. I tried for this but this is not working in Release build. bbye Salman Live and Let live

        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