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

contex menu on list box

P: n/a
Hi,
how can i call a contex menu on a list box when the item is right
clicked with the mouse ?

there is a list box click event but how can i determine what mouse
button was clicked ?

Thanks
A

Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"alex" <ai******@hotmail.com> schrieb
how can i call a contex menu on a list box when the item is right
clicked with the mouse ?

there is a list box click event but how can i determine what mouse
button was clicked ?


If you wanna show the menu manually, use the mouseup event and call the
contextmenu's show method.

Automatically: Add a contextmenu to the form and assign the contextmenu to
the listbox' contextmenu property.
--
Armin
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.