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. Prevent active controls under child window to overwhelm it

Prevent active controls under child window to overwhelm it

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
13 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.
  • 4 4288

    Hi Mark, thank you very much Using WS_CLIPSIBLINGS on the child window that should be topmost places it behind all child windows That could be a solution also if it isn't what I was looking for

    ---

    M Offline
    M Offline
    Moak
    wrote on last edited by
    #4

    I don't understand the design of your dialog. You have controls overlapping... maybe something is missing in your example screenshot?

    My Webchat

    1 Reply Last reply
    0
    • 4 4288

      Hi Mark, thank you very much Using WS_CLIPSIBLINGS on the child window that should be topmost places it behind all child windows That could be a solution also if it isn't what I was looking for

      ---

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #5

      I agree with Moak - I don't understand the design.  You're pretty much getting the behavior you ask for there. :)

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      4 M 2 Replies Last reply
      0
      • M Mark Salsbery

        I agree with Moak - I don't understand the design.  You're pretty much getting the behavior you ask for there. :)

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        4 Offline
        4 Offline
        4288
        wrote on last edited by
        #6

        Uhm, how about creating a child window that act like a split window? Could it be a solution?

        ---

        M 1 Reply Last reply
        0
        • 4 4288

          Uhm, how about creating a child window that act like a split window? Could it be a solution?

          ---

          M Offline
          M Offline
          Moak
          wrote on last edited by
          #7

          4288 wrote:

          Could it be a solution?

          Depends on what you want to do. How about describing your problem from a different angle? Instead of picking a specific implementation/layout maybe tell instead about the wanted functionality and user experience.

          My Webchat

          4 1 Reply Last reply
          0
          • M Moak

            4288 wrote:

            Could it be a solution?

            Depends on what you want to do. How about describing your problem from a different angle? Instead of picking a specific implementation/layout maybe tell instead about the wanted functionality and user experience.

            My Webchat

            4 Offline
            4 Offline
            4288
            wrote on last edited by
            #8

            Id like to muse a child window as a splitter window on the right The problem is that this child window can be taken (by resizing right side)over another child window with controls.. and the problem above rises Maybe moving the child on right and preventing user from moving it..?

            ---

            M 1 Reply Last reply
            0
            • 4 4288

              Id like to muse a child window as a splitter window on the right The problem is that this child window can be taken (by resizing right side)over another child window with controls.. and the problem above rises Maybe moving the child on right and preventing user from moving it..?

              ---

              M Offline
              M Offline
              Moak
              wrote on last edited by
              #9

              For me a splitter window would resize controls in a window... so if the controls didn't overlap in the beginning they also will not later (after the splitter bar was moved). If you haven't looked into a splitter window implementation here on CodeProject (or another MFC variant), I would suggest trying that. Hope it helps /M

              My Webchat

              4 1 Reply Last reply
              0
              • M Moak

                For me a splitter window would resize controls in a window... so if the controls didn't overlap in the beginning they also will not later (after the splitter bar was moved). If you haven't looked into a splitter window implementation here on CodeProject (or another MFC variant), I would suggest trying that. Hope it helps /M

                My Webchat

                4 Offline
                4 Offline
                4288
                wrote on last edited by
                #10

                I will try it, any problem I will let you know. And if my project will be good, I'll post it here on cp

                ---

                1 Reply Last reply
                0
                • M Mark Salsbery

                  I agree with Moak - I don't understand the design.  You're pretty much getting the behavior you ask for there. :)

                  Mark Salsbery Microsoft MVP - Visual C++ :java:

                  M Offline
                  M Offline
                  Moak
                  wrote on last edited by
                  #11

                  Mark Salsbery wrote:

                  Mark Salsbery Microsoft MVP - Visual C++

                  Mark, what is the secret behind making the nice coffee smiley? Hmm... :beer: :coffee:

                  My Webchat

                  M 1 Reply Last reply
                  0
                  • M Moak

                    Mark Salsbery wrote:

                    Mark Salsbery Microsoft MVP - Visual C++

                    Mark, what is the secret behind making the nice coffee smiley? Hmm... :beer: :coffee:

                    My Webchat

                    M Offline
                    M Offline
                    Mark Salsbery
                    wrote on last edited by
                    #12

                    if I told you it wouldn't be a secret *cough*java*cough* :java:

                    Mark Salsbery Microsoft MVP - Visual C++ :java:

                    M 1 Reply Last reply
                    0
                    • M Mark Salsbery

                      if I told you it wouldn't be a secret *cough*java*cough* :java:

                      Mark Salsbery Microsoft MVP - Visual C++ :java:

                      M Offline
                      M Offline
                      Moak
                      wrote on last edited by
                      #13

                      :cappuccino: :espresso: :caffeine: ... :) Thx

                      My Webchat :java:

                      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