How to I determine if left or right mouse button is clicked?
Printable View
How to I determine if left or right mouse button is clicked?
Use this code along with mousedown event of the form or whatever .
VB Code:
Select Case e.Button Case MouseButtons.Left MsgBox("Left button was clicked") Case MouseButtons.Right MsgBox("Right button was clicked") End Select