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
885
Mimicing MDI Parent Toolbar
posted

When one creates a project and adds an MDIParent form, that form is created with a menustrip containing a number of menu items - FileMenu, EditMenu, ViewMenu, ToolsMenu, WindowsMenu, HelpMenu by default.

Each of these menu items has some default functionality - the one I'm particularly interested in is the WindowsMenu. The WindowsMenu has the behaviour of listing all open child forms when expanded, and allows the user to activate and manipulate the forms. I believe this comes from the menu strip having an MdiWindowListItem which is set to the WindowsMenu having an MDIList property which is set to true.

So ... how can I set a tool on an UltraToolbar to mimic the behaviour of the one that VS creates when an MDIParent form is created?