AD
Administrator
Syncfusion Team
December 10, 2002 01:54 PM UTC
Steve,
Let me try to explain the rationale behind this requirement. In XPMenus, 2 MDI merging modes are supported:
1) Explicit Merging (by calling RegisterMDIChildTypes):
In this mode, the toolbars of the child Forms are available to be shown all the time (even when the child Forms are not Visible). This behavior is like VS.Net where you can show the toolbars (albeit the items being disabled) associated with the "Designer" even when there is no Design Surface open.
This is possible only by creating a dummy child Form and querying for it's menus and toolbars.
2) Auto Merging:
In this mode, the toolbars of the child Forms are made visible as and when the child Forms are made Visible.
In this scenario, as you suggest, our framework could use the menu and toolbar information from the already loaded child Form (rather than creating a dummy child Form) to draw the menu/toolbar items. This is some thing we are currently investigating and planning to support in our next version.
Regards,
Praveen Ramesh