View Single Post

  #3 (permalink)  
Old 12-12-2002
stiemark stiemark is offline
Junior Member
White Belt
 
Join Date: Dec 2002
Posts: 4
Assuming your map control is mpCtrl1, add this code:

Private Sub mpCtrl1_BeforeClick(ByVal Button As Long, _
ByVal Shift As Long, ByVal X As Long, _
ByVal Y As Long, Cancel As Boolean)
If Button = 2 Then
Cancel = True
End If
End Sub
Reply With Quote