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.
This is a discussion on Is there any way to disable Mappoint 2002 popup menu? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Is there any way to disable popup menu at runtime in Mappoint 2002? The menu which apears when right click ...
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.
Nothing in the object model but you can read this topic from the old discussion forum.
http://www.mp2kmag.com/mappoint/disc...light=sendkeys
John
http://www.support-pc.com
Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
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
There are currently 1 users browsing this thread. (0 members and 1 guests)