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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

BarManager.RegisterMdiChildTypes

Thread ID:

Created:

Updated:

Platform:

Replies:

91844 Dec 5,2009 12:05 AM UTC Dec 8,2009 12:08 PM UTC WinForms 4
loading
Tags: Tools
Truman Lackey
Asked On December 5, 2009 12:05 AM UTC

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?

Truman

Githanjali S [Syncfusion]
Replied On December 7, 2009 12:50 PM UTC

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)});

Regards,
Githanjali

Truman Lackey
Replied On December 7, 2009 05:32 PM UTC

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 05:35 PM UTC

Example attached



HEF-Stripped_e96daad6.zip

Githanjali S [Syncfusion]
Replied On December 8, 2009 12:08 PM UTC

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.

Regards,
Githanjali

CONFIRMATION

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.

Warning Icon 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.Close Icon

;