467,880 Members | 1,073 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,880 developers. It's quick & easy.

creating a right click menu in vb6

how do u create a right click menu in vb6? pls gv me the code lines
Nov 6 '06 #1
  • viewed: 9284
Share:
1 Reply
100+
how do u create a right click menu in vb6? pls gv me the code lines
hi

use of MouseDown may help...

Expand|Select|Wrap|Line Numbers
  1.  
  2. Private Sub Object_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  3. If Button = 2 Then
  4. '......... put your code here
  5. End If
  6. End Sub
  7.  
  8.  
Nov 6 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Michael Riggio | last post: by
3 posts views Thread by Anand Ganesh | last post: by
11 posts views Thread by Terry Olsen | last post: by
2 posts views Thread by Mad Scientist Jr | last post: by
2 posts views Thread by Hardik Shah | last post: by
5 posts views Thread by wxnut | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.