Windows Develop Bookmark and Share   
 index > Windows Forms General > MDI Merge context menu
 

MDI Merge context menu

Hi All,

I have a form that is a mdi parent. In this form I have a menustrip the allow merge is set to true. I then have another form which is a child form. In this form I have a menustrip, I have the first menuitem merge action set to MatchOnly, then the rest of the menu items merge action are all set to insert. I then have a context menu in the child form, wherewhich has the same menu items as the menustrip.

When i run the app, and show the child form, the menu items get added to the parents menu just how I expected. but the context menu does not display in the child form.

Why?
And how can I get it to display?

Thanks

Loftty
loftty  Wednesday, February 11, 2009 9:46 AM

Hi loftty,

Have you set the ContextMenuStrip property of your child form already? Did you just drag a ContextMenuStrip form the ToolBox of Visual Studio and drop it on the form?

Please see the ContextMenuStrip property of your child form, if it is none, you need to set it by the DropDowList.

If the problem is not I have thought, please feel free to tell me.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, February 13, 2009 4:06 AM
Hi,

That is not the problem. Have you a email address so I can send you a sample project to display the problem?

Regards,

Loftty
loftty  Friday, February 13, 2009 11:26 AM
Hi loftty,

My email is v-kiqian@microsoft.com. Please send me the project. Thanks.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Monday, February 16, 2009 2:06 AM

You can use google to search for other answers

Custom Search

More Threads

• AutoScroll in Panel
• Implement List<MyObject>.Sort()
• How to get the next item?
• "A generic error occurred in GDI+", not to save an image
• MaskedTextbox and allowing only valid int input
• I want to set button name at runtime and aswell as i want to connect two buttons by drawing a line by mouse moving
• Can I set specified folder when I open saveas dialog in WebBrowser control using "ShowSaveAsDialog"?
• Form_Load event + BackgroundWorker Thread (VB.2005). Behaviour not as expected.
• Problem with opening forms in VC++2005 Express
• MDI Menu Merging Problems