You would use the Button argument of the MouseDown or MouseUp event for the
control. See if this helps -- start a project and put a PictureBox control
on it and use this code in its MouseDown event:
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If Button = 1 Then
Debug.Print "LEFT"
ElseIf Button = 2 Then
Debug.Print "RIGHT"
End If
End Sub
If Button equals one, then the Left mouse button was pressed; if Button
equals two, then the Right button was pressed; and if Button equals four,
then a middle button (if present) was pressed.