'VB QUICK TIPS 'Trapping Mouse Buttons 'Create a MouseDown event handler for the form, button, control of your choice. I created one for the form. 'When you click on the form with the mouse, the correct button is detected! Public Class Form1 Private Sub Form1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown Select Case e.Button Case Windows.Forms.MouseButtons.Left MsgBox("You clicked the left mouse button") Case Windows.Forms.MouseButtons.Middle MsgBox("You clicked the middle mouse button") Case Windows.Forms.MouseButtons.Right MsgBox("You clicked the right mouse button") End Select End Sub End Class