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. Dialogs as MDI Childs

Dialogs as MDI Childs

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

    When I make a Dialog window (based on a resource) child of an MDI window, the caption bar appears inactive (grayed), however, my dialog is fully functional. Does anyone know how to make it look like an active window ? David

    L 1 Reply Last reply
    0
    • 2 2sky

      When I make a Dialog window (based on a resource) child of an MDI window, the caption bar appears inactive (grayed), however, my dialog is fully functional. Does anyone know how to make it look like an active window ? David

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Probably using the FormView class

      2 1 Reply Last reply
      0
      • L Lost User

        Probably using the FormView class

        2 Offline
        2 Offline
        2sky
        wrote on last edited by
        #3

        Is there no way at all, besides the CFormview class ????????? I'm not that big of a fan of the Document/View architecture... :confused:

        C 1 Reply Last reply
        0
        • 2 2sky

          Is there no way at all, besides the CFormview class ????????? I'm not that big of a fan of the Document/View architecture... :confused:

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          The D in MDI stands for Document, so you have chosen the Doc/View architecture, whether you decide to use it or not. The CFormView class *is* the way you can get an MDI application based on dialog templates. Otherwise you'd have to do something funky, like create a new, dialog based project and hold a vector of pointers to your child dialog boxes in it. I doubt this is viable, but it's not Doc/View. Christian #include "std_disclaimer.h"

          2 1 Reply Last reply
          0
          • C Christian Graus

            The D in MDI stands for Document, so you have chosen the Doc/View architecture, whether you decide to use it or not. The CFormView class *is* the way you can get an MDI application based on dialog templates. Otherwise you'd have to do something funky, like create a new, dialog based project and hold a vector of pointers to your child dialog boxes in it. I doubt this is viable, but it's not Doc/View. Christian #include "std_disclaimer.h"

            2 Offline
            2 Offline
            2sky
            wrote on last edited by
            #5

            Then could you tell me how to make it LOOK like a regular dialog... Without the minimize/maximize button and fixed size ?

            C 1 Reply Last reply
            0
            • 2 2sky

              Then could you tell me how to make it LOOK like a regular dialog... Without the minimize/maximize button and fixed size ?

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              The properties of the dialog template allow you to set if the border is resizing, and if there is a system menu/what is on it. Christian #include "std_disclaimer.h"

              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