Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
840
Menu merging UltraToolbarsManager with standard MenuStrip
posted

Is such a thing possible either automatically or manually?

I've got a Form I have to use in my application that I'm getting from a .dll (written and maintained by another group).  The form dynamically generates standard menu options based on certain factors outside of my knowledge/control.


Basically, I need to drop this Form onto my app as an MDI child.  My app is all Infragistics, with an UltraToolbarsManager ribbon bar calling the shots. 

What I really need is to display the Menu items from the MDI child in my parent Form when the MDI child is the active view.  Obviously this is automatically taken care of if the child had it's own UltraToolbarsManager, but since it's just got a standard MenuStrip, I'm getting nothing.

 

This is actually a pretty critical issue, and I'm not really sure how to proceed.

Any help would be greatly appreciated.


TIA!

Parents
  • 5389
    Verified Answer
    posted

    byucygnus,

    The UltraToolbarsManager does not work with ToolStripMenuItems; it does not know what to do with them when you open an MDI child form, so no merging will occur.  When you open your MDI child form what you will need to do is manually remove or hide your MenuStrip, and for each of the ToolStripMenuItems add either a PopupMenuTool or a ButtonTool to the UltraToolbarsManager's Ribbon.  You will also need to hide/show them based on which MDI child form is active.

    ~Kim~

Reply Children