View Single Post

  #2 (permalink)  
Old 10-13-2005
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

this is how you place the pushpin. It is places exacly where it is clicked:

Code:
            Location loc = mp.ActiveMap.XYToLocation(e.x, e.y);
            mp.ActiveMap.AddPushpin(loc, "");
e is the event arguments of the before click event handler.
Reply With Quote