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. Image for the cookie policy date

Merging menus from docked Controls

I like to merge MenuBars from a docked control to the MainMenu like the ClientFrameBarManager does. I need to handle the Shortcuts (Ctrl-C,Ctrl-V,...) if the focus lies on a docked tool window. It works perfect with my MDI children in the TabbedMDIManager, but how can I get (simulate) the same behaviour with my docked control ? One way could be to ask the focused control for availability of these functions (CanCopy, CanPaste, etc.) but this is not that comfortable... because I''ve got a lot of those "toolwindows" in my application. Thanks! Ralf

3 Replies

AD Administrator Syncfusion Team December 2, 2004 06:55 PM

Hi Ralf, In the current implementation of the XPMenus framework, menu merging is supported between the menus of a MDI parent and child forms only. The MainFrameBarManager and ChildFrameBarManager facilitates this merging. In a TabbedMDI scenario, the individual tabs are still MDI children of the parent form and hence menu merging occurs. But I am afraid, it is not possible to support merging between menus of a docked control and its parent form. Also note that the XPMenus framework is supported only on a Form and hence cannot be hosted within any other ContainerControl. So even if you wish to custom code this feature, the docked control would have to be a docked form. We appreciate your interest inSyncfusion products. Regards, Guru Patwal Syncfusion, Inc.


RA Ranjit June 14, 2005 06:00 AM

I see the response a year old...we are using Syncfusion library 3.0.1.0. Is there a fix for merging menu''s for docked forms within an MDI? Thanks and Regards, Ranjit Radhakrishnan


AD Administrator Syncfusion Team June 14, 2005 04:43 PM

Hi Ranjit, Unfortunately, we don''t have any plans to implement this feature in the near future due to its complexity. As an alternative I would recommend assigning each of the docked controls their own toolbar. You can then show, hide, or customize this toolbar depending on which control has focus. Regards, Gregory Austin Syncfusion Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon