Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have two forms form1 and form2
form1 is mdi parent and form2 is its child
in form1 i have a richtextbox docked on it
so now when the mdi child opens
it remains hidden behind the richtextbox......
plzzz help !!!
Posted
Updated 6-Sep-11 9:16am
v2

Placing a control on MDIParent in the area which is reserved for mdi children isn't good UI practice. If you need to constantly show something, consider adding necessary controls to toolstrip, status bar or for example a floating toolbox window etc.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 7-Sep-11 1:52am    
This is of course correct, my 5, but the root of the problem is MDI itself.
Don't you think so? Please see my answer.
--SA
Wendelius 7-Sep-11 1:59am    
Thanks SA.
How much longer you guys are going to torture yourself and scare off your customers with MDI? This is evil.

Please see:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages[^],
Question on using MDI windows in WPF[^],
MDIContainer giving error[^].

—SA
 
Share this answer
 
Comments
Wendelius 7-Sep-11 2:00am    
This is very true. +5 However I share the OP's pain because some of the applications to be maintained are so old that MDI was the best there was at that time...

If this is a new application then I guess there's no excuses :)
Sergey Alexandrovich Kryukov 7-Sep-11 2:06am    
Thank you, Wika.
You see, even if there are excuses... Customers want functionality and good usability, not excuses. :-)
--SA
Wendelius 7-Sep-11 2:08am    
Yep, and a low price :)
Sergey Alexandrovich Kryukov 7-Sep-11 2:14am    
Aha, with a smile...
--SA
Although This question asked 1 year ago,i answer this.because it is question of many programmer.

thats so simple,you can do a trick and put all your controls on a child form and call that in mdi load event and whenever you want.
 
Share this answer
 
Have you tried to use: this.TopMost = true; on the midi-child?
 
Share this answer
 
v2

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