Click here to Skip to main content
15,910,603 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
there are four forms in application.
one is main form,main form contains three mdi child forms.
but i need use splitcontainer component to split child forms,after use split compenent,the mdi child form can't active,why appear this problem? how could i solve this problem.

the demo image show as below:
http://img.bbs.csdn.net/upload/201505/23/1432350917_311651.png
Posted

1 solution

What you're describing tells me you should NOT be using MDI at all.

MDI stands for "Multiple DOCUMENT interface". This means that you're opening multiple documents for editing in multiple copies of the same editor window. Kind of like opening multiple Notepad windows all in the same application.

What you're talking about is nothing like this, therefor you should NOT be using MDI at all.

By the way, you can't do what you're describing in the Mdi container control. It doesn't support being split.
 
Share this answer
 
Comments
xuyunhai 24-May-15 22:37pm    
Actually,i don't care if the application is mdi or not,i only want let three child forms activation state mutual exclusion,how to achieve this function?
Dave Kreskowiak 25-May-15 9:33am    
Your "function" isn't described very well but it sounds like you only need a couple of split containers, one vertical and one horizontal, one inside one of the panels of the other. That's it.

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