is it possible to JUST disable 'Select a Place' feature when clicking?
I capture the BeforeClick event to prevent the user from moving things around:
Private Sub MyMap_BeforeClick(ByVal sender As Object, ByVal e As
AxMapPoint._IMappointCtrlEvents_BeforeClickEvent) Handles
AxMappointControl1.BeforeClick
If e.button = GeoMouseButtonConstants.geoLeftButton Then
Dim mapSelection As Object =
AxMappointControl1.ActiveMap.Selection
If Not mapSelection Is Nothing Then
If TypeOf (mapSelection) Is MapPoint.Pushpin Then
ChangeFocus()
End If
If TypeOf (mapSelection) Is MapPoint.Route Then
ChangeFocus()
End If
If TypeOf (mapSelection) Is MapPoint.Shape Then
ChangeFocus()
End If
Else
'e.cancel = True
End If
End If ' If e.button = GeoMouseButtonConstants.geoLeftButton Then
End Sub
Is there anyway to determine when the 'Select a Place' is being clicked? I
need to have the ability to let the user click so that they can use the
drawing and measureing tools, but want to be able to determine WHAT is being
click that way I can canel as needed.
Thanks in advance,
Joe