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,
Dino
--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com