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 or SDI. How do I connect View with a resource formview.

MDI or SDI. How do I connect View with a resource formview.

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

    Hello, I do not want to use an MDI app to create new documents of the same kind, like in text processors. Instead I want to be able to open different child windows from the menu. The menu handling is clear. When I go and create a new form with controls in the resources/dialog editor, how can I connect them to what I see in the client area of the child ? The classic kind of business software, you know. A user can open a customer window, then a payment window, a child for envoices, for banking, statics and so on. Normal dialog windows do not fill the client area, they are on top of all. That is not what I am going for. Thank You.

    V 1 Reply Last reply
    0
    • M Member 11883602

      Hello, I do not want to use an MDI app to create new documents of the same kind, like in text processors. Instead I want to be able to open different child windows from the menu. The menu handling is clear. When I go and create a new form with controls in the resources/dialog editor, how can I connect them to what I see in the client area of the child ? The classic kind of business software, you know. A user can open a customer window, then a payment window, a child for envoices, for banking, statics and so on. Normal dialog windows do not fill the client area, they are on top of all. That is not what I am going for. Thank You.

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      Did you try something from [mdi one document multiple views - Google Search](https://www.google.com/search?q=mdi+one+document+multiple+views&oq=mdi+one+document+multiple+views&aqs=chrome..69i57.19258j0j7&sourceid=chrome&ie=UTF-8)

      M 1 Reply Last reply
      0
      • V Victor Nijegorodov

        Did you try something from [mdi one document multiple views - Google Search](https://www.google.com/search?q=mdi+one+document+multiple+views&oq=mdi+one+document+multiple+views&aqs=chrome..69i57.19258j0j7&sourceid=chrome&ie=UTF-8)

        M Offline
        M Offline
        Member 11883602
        wrote on last edited by
        #3

        Hallo Victor, yes I just did. That issue is different. Mine is about connecting the window resource to the canvas of the app. That one from the painter, where all controls are placed. Thank You

        V 1 Reply Last reply
        0
        • M Member 11883602

          Hallo Victor, yes I just did. That issue is different. Mine is about connecting the window resource to the canvas of the app. That one from the painter, where all controls are placed. Thank You

          V Offline
          V Offline
          Victor Nijegorodov
          wrote on last edited by
          #4

          Member 11883602 wrote:

          That issue is different. Mine is about connecting the window resource to the canvas of the app. That one from the painter, where all controls are placed.

          And how would it differ from what CMultiDocTemplate represets?

          M 1 Reply Last reply
          0
          • V Victor Nijegorodov

            Member 11883602 wrote:

            That issue is different. Mine is about connecting the window resource to the canvas of the app. That one from the painter, where all controls are placed.

            And how would it differ from what CMultiDocTemplate represets?

            M Offline
            M Offline
            Member 11883602
            wrote on last edited by
            #5

            Hello. I got it now. To occupy an SDI/MDI with a formview resource template there is one detail in the project assistant. At the last page one can fill in from what the view derives. The preset is CView, but you must change it to CFormView. That was all. Well, I would have liked to make it an existing project, but this is ok, too. Thank You.

            V 1 Reply Last reply
            0
            • M Member 11883602

              Hello. I got it now. To occupy an SDI/MDI with a formview resource template there is one detail in the project assistant. At the last page one can fill in from what the view derives. The preset is CView, but you must change it to CFormView. That was all. Well, I would have liked to make it an existing project, but this is ok, too. Thank You.

              V Offline
              V Offline
              Victor Nijegorodov
              wrote on last edited by
              #6

              You are welcome!

              M 1 Reply Last reply
              0
              • V Victor Nijegorodov

                You are welcome!

                M Offline
                M Offline
                Member 11883602
                wrote on last edited by
                #7

                :)

                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