Prevent active controls under child window to overwhelm it
-
Hi guys, I have a problem: two child windows inside a parent, one normal, one with wndTopMost set When I pass the mouse over the normal child's controls, they overwhelm the wndTopMost child and cause bad-redrawing -> This screenshot better explains the problem: http://img257.imageshack.us/img257/7740/topmostprobss0.jpg Can you please help me solving the problem?
---
-
Hi guys, I have a problem: two child windows inside a parent, one normal, one with wndTopMost set When I pass the mouse over the normal child's controls, they overwhelm the wndTopMost child and cause bad-redrawing -> This screenshot better explains the problem: http://img257.imageshack.us/img257/7740/topmostprobss0.jpg Can you please help me solving the problem?
---
What if you use the WS_CLIPSIBLINGS style on the windows? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
What if you use the WS_CLIPSIBLINGS style on the windows? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
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
---
I don't understand the design of your dialog. You have controls overlapping... maybe something is missing in your example screenshot?
-
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
---
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:
-
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:
-
Uhm, how about creating a child window that act like a split window? Could it be a solution?
---
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.
-
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.
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..?
---
-
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..?
---
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
-
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
-
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:
Mark Salsbery wrote:
Mark Salsbery Microsoft MVP - Visual C++
Mark, what is the secret behind making the nice coffee smiley? Hmm... :beer: :coffee:
-
Mark Salsbery wrote:
Mark Salsbery Microsoft MVP - Visual C++
Mark, what is the secret behind making the nice coffee smiley? Hmm... :beer: :coffee:
if I told you it wouldn't be a secret *cough*java*cough* :java:
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
if I told you it wouldn't be a secret *cough*java*cough* :java:
Mark Salsbery Microsoft MVP - Visual C++ :java:
:cappuccino: :espresso: :caffeine: ... :) Thx
My Webchat :java: