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.
ADAdministrator Syncfusion Team December 2, 2004 06:55 PM
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.
RARanjitJune 14, 2005 05:00 AM
I see the response a year old...we are using Syncfusion library 188.8.131.52.
Is there a fix for merging menu''s for docked forms within an MDI?
Thanks and Regards,
ADAdministrator Syncfusion Team June 14, 2005 03:43 PM
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.