View Single Post

  #1 (permalink)  
Old 06-30-2004
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
MappointControl and Pushpin

I am building a standalone (not addin) VB6 App based around the MappointControl. Does anyone know if it is possible to use the MapPointControl to select a point on the map and progmaticly with the mouse and add a pushpin from the location of the mouse click on the map?

I expect it is somehow possible using one of the events avaliable to the MapPoint control such as :

AfterRedraw
AfterViewChange
BeforeClick
BeforeDblClick
DataMapChange
MouseDown
MouseMove
MouseUp
NewDataSet
ReadyStateChange
RouteAfterCalculate
RouteAfterOptimize
SelectionChange

however I have not been able to dynamicaly obtain a address upon catch of lets say a MouseDown event, geocode it and convert it progmaticly to add the pushpoint.

Thanks in advance!!!
Reply With Quote