|
-
Jul 27th, 2007, 06:59 AM
#1
Thread Starter
Addicted Member
[RESOLVED] how can i get Left click event of Mouse?
HI All!
In my application i have to have all the three events of a mouse.... like left click, right click and the middle button(scroll) click events.
I already wrote the event mouses's down event. in that event i am able to get the middle button(scroll)'s event and right click event, but i am unable to get the left button's click event....
How can i get this Leftclik event of mouse? here is my sample code...
Private Sub Image1_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 4 Then
boolDragDrop = True
End If
If Button = 2 Then
Delete.Tag = Index
Me.PopupMenu RClick
End If
If Button = 1 Then 'this is not working..... how can i get this ?
MsgBox ("\nyes...it is button1")
End If
End Sub
Please let me know... if u know this..
Thanks in advance:
regards:
raghunadhs.v
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|