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. Two ChlidFrames in MDI application?

Two ChlidFrames in MDI application?

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
2 Posts 2 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.
  • U Offline
    U Offline
    User 10714696
    wrote on last edited by
    #1

    Hi all I want to achieve such an efect like - one view which takes all MDI area and some views which arelike non modal dialogs How can I do it? Two Child frames will be correct? one for "big" view which will be always visible and second for a "smal" views maybe another solution would be better Thank you in advance for help and advice

    S 1 Reply Last reply
    0
    • U User 10714696

      Hi all I want to achieve such an efect like - one view which takes all MDI area and some views which arelike non modal dialogs How can I do it? Two Child frames will be correct? one for "big" view which will be always visible and second for a "smal" views maybe another solution would be better Thank you in advance for help and advice

      S Offline
      S Offline
      shiftwik
      wrote on last edited by
      #2

      curious what are you showing in your MDI? you can just use the same instance of CDocument object for both the MDI and the non modal dialogs. just get a pointer to the MDI CDocument object and access within your non modal dialogs classe(s) You can also just get pointers to the specific controls used in your MDI (tree, list, GDI obects) and then just acces these in your modal classes. So the data will all be the same. there are several effective ways to do this, but it's situational

      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