We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.


Thread ID:





91844 Dec 4,2009 07:05 PM Dec 8,2009 07:08 AM Windows Forms 4
Tags: Tools
Truman Lackey
Asked On December 4, 2009 07:05 PM

I have a main form that has child mdi forms with menubars and I am able to use RegisterMdiChildTypes for the mdi child form ok. I have added a DockingManager to the mdi child form and in it I dock another form with its own menubars. How can I get the menubars from the forms docked in the dockingmanager to merge to the top most form?


Githanjali S [Syncfusion]
Replied On December 7, 2009 07:50 AM

Hi Truman,

The merging of menubars from the docked forms of the docking manager can be done in the similar way as for mdichild forms ,by including the docked forms in the RegidterMdiChildTypes

this.mainFrameBarManager1.RegisterMdiChildTypes(new Type[] { typeof(ChildForm),typeof(DockedForm)});


Truman Lackey
Replied On December 7, 2009 12:32 PM

The problem that I am having is that the docking manager is in the mdi child. So when I dock a form in the docking manager that is in the mdi child the menubars do not show up.

Truman Lackey
Replied On December 7, 2009 12:35 PM

Example attached


Githanjali S [Syncfusion]
Replied On December 8, 2009 07:08 AM

Hi Truman,

Thanks for the clarification,
Currently it is not possible to show the menubars of a form docked to another form, you can add the menubars of the docked forms to the child form's bar manager itself.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.