Click here to Skip to main content
15,896,359 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..

I have 3 buttons in mij app:

1st button in the menu will make a V-Card.
second is a normal button to make a V-Card

& third button is to click double on the left mouse..

Now my question is how can i open a menu when I Click on the right button of the mouse?

I have never done this before so I'm still searching on the internet and maby someone on this forum can help me?

thanks!
Posted

What you are looking for is a Context Menu. www.codeproject.com/Articles/8756/Context-Menu-and-Event-Handling-in-Visual-Basic-NE[^] should be useful to you.
 
Share this answer
 
Comments
OdeJong 23-Apr-12 5:21am    
Thanks for your Solution! It works 100%, I'm very happy :)
Now I can make a V-Card with 1 click on the rightmousebutton and olso close my application with this same menu. Thanks!
You want to add a context menu to your application.

See google[^] for samples.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900