Click here to Skip to main content
15,902,777 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi,

I have one parent form and 2 MDI child forms for that parent.

1)MDIMessagesChild Form
2)MDIEnvironmentChild Form.

Question number1) when we click on one of menu item of parent form these MDI forms should be opened and when we uncheck menuitem these childs should be dissapeared.
Question number2) when these child forms touchs the menu bar of parent form it should be part of menubar of parent and if touch any edge of parent window it should be part of that side of parent.

please suggest some code snippet for designing this kind of controls.
Posted

1 solution

1) Create the windows, and just toggle the visiblity of the windows.

2) Have a look at the following articles:
Visual Studio IDE like Dock Container[^]
Magic Library Docking Manager Designer[^]

Best regards
Espen Harlinn
 
Share this answer
 
Comments
thatraja 30-Jan-12 8:31am    
Nice articles, 5!
Espen Harlinn 30-Jan-12 8:31am    
Thank you, thatraja!
pasupulety 31-Jan-12 9:16am    
when i followed this link i have one DLL file how can we use the classes defined in this DLL. how can we use Docking properties in my project.
Espen Harlinn 31-Jan-12 9:42am    
Right click in the ws toolbox, you can then add controls and groups to the visual studio toolbox by adding the dll.
pasupulety 1-Feb-12 1:47am    
I can able to use the functionalities of DLL . but how can we modify the funtionalities in DLL to our project specific needs.

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