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

Adding PopUp Context Menus

P: n/a
I have several context menu added to my forms. The forms are displaying
items in a list view.
When I click on an item in a list view, a popup context menu shows allowing
me to chese between editing or deleting the item from the list view. That
works fine.

However, I noticed that I can call the pop up context menu also by right
clicking on a list view item, just as it works by left clicking on it.
However it this case my application acts unpredictable. It freezes, or
crashes, or calls "Delete" pop up context menu item twice.

How can I solve this problem? Or how to limit pop up context menu to show
only when left clicked on an item.

Some people are recommending me to do MouseDown instead of Click but
MouseDown is not supported event for menu items of whick my popup context
menu consists.

Any help will be appreciated,

Download Spam Inspector, the Award Winning Anti-Spam Filter

Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.