How do I detect a right-click?

Posted by Lee Hallin

I have a ListBox with entries. I have an OnClick event handler (which is working fine for left-clicks) but don't know how to detect that the right-button was clicked for an item in the ListBox. Is it possible to detact the right-mouse button in a ListBox?

Related Articles and Replies