Windows Develop Bookmark and Share   
 index > Windows Forms General > Merging Menu strips
 

Merging Menu strips

I have an MDI child form which contains a menu strip, and an MDI parent
also containing a menu strip. When I open the child form, the menus
merge correctly. However, when my child form contains a usercontrol
with its own menu strip, the menustrip from the usercontrol gets merged
with the MDI parent menu, and I lose the menus from the child form.

Is there anyway that I can get all three menus to merge together
correctly? As I would like to create a form template containing
standard options (which may or may not be used as an MDI child), user
controls with specific options and the MDI parent with options relating
to that.

Any ideas/tips would be great as I've tried most options, and so far
have found no way of doing what I want.

Stampc  Tuesday, April 25, 2006 5:43 PM
Brendan Grant  Tuesday, April 25, 2006 7:05 PM
Thanks that works, but only if you merge the menustrip from the child form into that of the usercontrol on form load.
Stampc  Thursday, April 27, 2006 6:23 PM
What if you make the Menu Strip contained by the User Control publicly accessible?
Brendan Grant  Thursday, April 27, 2006 7:08 PM

You can use google to search for other answers

Custom Search

More Threads

• How to Display required text in richtextbox...
• is there a control to, create/edit/view reports?
• how to do a code editor, use richtextbox?
• Problem with Automatic Text Wrapping and MeasureString
• DatagridView column format for passwords
• FontSize normal versus bold / underline / italic
• pasing message between forms
• copy listview item to another listview.
• Checked Listbox Up and down functionality
• Need some advice on displaying text