PC Review


Reply
Thread Tools Rate Thread

contex menu on list box

 
 
alex
Guest
Posts: n/a
 
      14th Oct 2003
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

 
Reply With Quote
 
 
 
 
Armin Zingler
Guest
Posts: n/a
 
      14th Oct 2003
"alex" <(E-Mail Removed)> 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


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open with ... missing in contex menu Uwe Kaerst Windows XP Help 3 6th Nov 2008 08:52 AM
Right Click Contex Menu Billy Windows XP Help 1 18th Feb 2005 01:40 AM
Help cleanup contex & sendto menu? KG Windows XP Help 2 13th Feb 2005 01:39 PM
How asign deferent contex menu to deferent treenode =?Utf-8?B?U2VyZ2V5IFJvbWFub3Y=?= Microsoft C# .NET 1 24th Sep 2004 06:10 AM
ctrl + V stops but contex menú paste works zero Windows XP Help 1 7th Sep 2004 07:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:26 PM.