By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,689 Members | 1,109 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,689 IT Pros & Developers. It's quick & easy.

ContextMenuStrip not hiding on some ToolStripMenuItems

P: n/a
Hi

I have a ContextMenuStrip that has several levels of items, e.g. when
you right click on a TreeView you have the following:

Move To..
- Category
- Category 1
- Category 1a
- Category 2

All the items have a Click handler set up which works fine.

This only works correctly if you select any of the most child items,
e.g. Category 1a.

If I select Category 1 or Category 2, the Click handler executes but it
leaves the ContextMenuStrip open still. It's as if the user hasn't
clicked on the menu to make it hide.

Any ideas? I thought the menustrip should hide automatically on matter
which item you click on...

Thanks
Peter

Mar 26 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.