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

creating a right click menu in vb6

P: 5
how do u create a right click menu in vb6? pls gv me the code lines
Nov 6 '06 #1
Share this Question
Share on Google+
1 Reply


100+
P: 267
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.