How to detect mouse right button down? thanks
Printable View
How to detect mouse right button down? thanks
/NisseCode:Private Sub Button2_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Button2.MouseDown
If e.Button = MouseButtons.Right Then
'do what you wanna do
End If
End Sub