Click here to Skip to main content
12,756,437 members (32,938 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# .NET
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 6-Sep-11 10:10am
Updated 6-Sep-11 10:16am
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
SAKryukov 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
Mika Wendelius 7-Sep-11 1:59am
   
Thanks SA.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  
Comments
Mika 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 :)
SAKryukov 7-Sep-11 2:06am
   
Thank you, Wika.
You see, even if there are excuses... Customers want functionality and good usability, not excuses. :-)
--SA
Mika Wendelius 7-Sep-11 2:08am
   
Yep, and a low price :)
SAKryukov 7-Sep-11 2:14am
   
Aha, with a smile...
--SA
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Have you tried to use: this.TopMost = true; on the midi-child?
  Permalink  
v2

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

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 26 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100