Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In a container form I have menu and buttons to open ther forms.
Here I am facing a problem when I open any form these buttns and lables come over newly opened form.

Please guide me how I can manage this issue? I want to open a new form and keep these container form's controls in back ground of it.

http://i.stack.imgur.com/QGiNV.jpg[^]
Posted
Comments
Sergey Alexandrovich Kryukov 19-Nov-12 17:09pm    
What do you mean come over child form, exactly?
--SA
Sergey Alexandrovich Kryukov 19-Nov-12 17:13pm    
Fist thing you should understand: the child-parent relationships between form is done effective defunct, you should not use it.
I don't mean MDIParent/MDIChild relationships -- they work. But -- listen for a good friendly advice, never ever use MDI -- by different and very serious reasons.
Now, what you show is possible. I would ask you to show your code but I don't really want to see it -- rather, you should review your design and come up with something reasonable.
We can discuss it if you provide relevant information on what you want to achieve.
--SA
samadblaj 19-Nov-12 17:18pm    
How do you bring MDI child windows to the front if MDI parent has controls?
Sergey Alexandrovich Kryukov 19-Nov-12 17:24pm    
Do yourself a great favour -- forget about MDI. Do you really need explanation why?
--SA

1 solution

Winforms NEVER does this. I think your graphics card driver is out of date.
 
Share this answer
 
Comments
Christian Graus 19-Nov-12 16:59pm    
No. Windows never does this. The parent form, is distinct from the child form. Unless you made the child form transparent. I think it's possible to do that in the settings. But you ask for help and post no code, so I am guessing.
samadblaj 19-Nov-12 17:18pm    
nooo, Controls in container form come over child form?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900