Look at the MouseDown or MouseUp event
Quote:
X ByVal Long. The X coordinate of the mouse pointer relative to the map window, in pixels.
Y ByVal Long. The Y coordinate of the mouse pointer relative to the map window, in pixels
|
In that event you will get the x/y of the mouse.
Now take a look at the XYToLocation method. Use it to take the x/y of the mouse and get a location object. At this point you should have the required stuff to use the calcpos function to return the lat/lon.
Also, there is another article that uses the same concept in .net to demonstrate the location sensor (uses the mousemove event)
http://www.mp2kmag.com/a66--location....mappoint.html