With the SelectionChange Event:
object.SelectionChange(NewSelection, OldSelection)
NewSelection ByVal Object. The newly selected Direction, Location, Pushpin, Shape, or Waypoint object on the map.
Does anyone know of a easy yet fool proof way to determine which one of Direction, Location, Pushpin, Shape, or Waypoint object the NewSelection object is?
Most of these have a Type property but the type values are not unique between Objects.
Ciao,