Is there any way to disable Mappoint 2002 popup menu?

Anonymous
11-15-2002, 01:33 PM
Is there any way to disable popup menu at runtime in Mappoint 2002? The menu which apears when right click on pushpin. I am using VB6.

John Meyer
11-19-2002, 04:18 PM
Nothing in the object model but you can read this topic from the old discussion forum.

http://www.mp2kmag.com/mappoint/discussion/viewtopic.asp?t=3136&highlight=sendkeys

stiemark
12-12-2002, 05:21 PM
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

 
Web mp2kmag.com
mapforums.com