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 Application with more than one child?

MDI Application with more than one child?

Scheduled Pinned Locked Moved C / C++ / MFC
adobequestion
9 Posts 5 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
    CrocodileBuck
    wrote on last edited by
    #1

    Hi, i want to open a MDI-Application with more then 1 (2, 4, 6) childviews at startup (like Photoshop)? Could you explaim me how i can manage this? I searched at Code-Project but i couldnt't find any sample featuring this ;( ...many thanks Croc ;)

    N S 2 Replies Last reply
    0
    • C CrocodileBuck

      Hi, i want to open a MDI-Application with more then 1 (2, 4, 6) childviews at startup (like Photoshop)? Could you explaim me how i can manage this? I searched at Code-Project but i couldnt't find any sample featuring this ;( ...many thanks Croc ;)

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      2 ways: Different views attached to the same document or Using SplitterViews There should be examples for that

      Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

      C 1 Reply Last reply
      0
      • N Nelek

        2 ways: Different views attached to the same document or Using SplitterViews There should be examples for that

        Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

        C Offline
        C Offline
        CrocodileBuck
        wrote on last edited by
        #3

        Hi Nelek, thanx for your quick help! Hmmm i think i will prefer Splitters, do you think splitters are the better (cleaner) way? Best regards ;) Crocodile Buck

        J N 2 Replies Last reply
        0
        • C CrocodileBuck

          Hi Nelek, thanx for your quick help! Hmmm i think i will prefer Splitters, do you think splitters are the better (cleaner) way? Best regards ;) Crocodile Buck

          J Offline
          J Offline
          JudyL_MD
          wrote on last edited by
          #4

          Maybe for 2 or 3 views, but you memtioned 6 in your original post. That's a lot of different views to visually take in all at once, regardless of whether they are splitters or cascading MDI children. Do you really need that many? Judy

          J 1 Reply Last reply
          0
          • C CrocodileBuck

            Hi, i want to open a MDI-Application with more then 1 (2, 4, 6) childviews at startup (like Photoshop)? Could you explaim me how i can manage this? I searched at Code-Project but i couldnt't find any sample featuring this ;( ...many thanks Croc ;)

            S Offline
            S Offline
            sudhir_Kumar
            wrote on last edited by
            #5

            I think better to USE cascading MDI childs to achive photoshop like UI.

            -@SuDhIrKuMaR@-

            1 Reply Last reply
            0
            • J JudyL_MD

              Maybe for 2 or 3 views, but you memtioned 6 in your original post. That's a lot of different views to visually take in all at once, regardless of whether they are splitters or cascading MDI children. Do you really need that many? Judy

              J Offline
              J Offline
              Jach Mullan
              wrote on last edited by
              #6

              hi, what is the interface or function to access the taskbar icons?...

              1 Reply Last reply
              0
              • C CrocodileBuck

                Hi Nelek, thanx for your quick help! Hmmm i think i will prefer Splitters, do you think splitters are the better (cleaner) way? Best regards ;) Crocodile Buck

                N Offline
                N Offline
                Nelek
                wrote on last edited by
                #7

                Splitters are good if you don't have many views or if that views are not going to be moved or something like that. If you want to have "free" movement views, to make them visible or invisible depending on menu "view" and so on... it will be better to have more than one view with different childframes, it will give you more freedom to manage them. It is not optimized (it was my first try, but it works) but you can have a look to this message[^] to open more than one view with only one document, and to this one[^] to manage how to close them priorizing the "main window".

                Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

                C 1 Reply Last reply
                0
                • N Nelek

                  Splitters are good if you don't have many views or if that views are not going to be moved or something like that. If you want to have "free" movement views, to make them visible or invisible depending on menu "view" and so on... it will be better to have more than one view with different childframes, it will give you more freedom to manage them. It is not optimized (it was my first try, but it works) but you can have a look to this message[^] to open more than one view with only one document, and to this one[^] to manage how to close them priorizing the "main window".

                  Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

                  C Offline
                  C Offline
                  CrocodileBuck
                  wrote on last edited by
                  #8

                  Hi, hmmm i think you all are right, and so i do not need free movement in the actual project and i only need 4 Views i will take splitters! Many Thanx for your help :-D & Best regards :) Crocodile Buck ;)

                  N 1 Reply Last reply
                  0
                  • C CrocodileBuck

                    Hi, hmmm i think you all are right, and so i do not need free movement in the actual project and i only need 4 Views i will take splitters! Many Thanx for your help :-D & Best regards :) Crocodile Buck ;)

                    N Offline
                    N Offline
                    Nelek
                    wrote on last edited by
                    #9

                    You are wellcome :)

                    Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

                    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