MapPointControl + Events

mp2knewbie
10-08-2007, 12:03 AM
I've made a small program using the MapPointControl, and while I am able to programatically control the map, I can not see and/or respond to user mouse clicks. I know that the MapPointControl has events you can respond to, but I had assumed the user could maybe select something with the mouse, click a pushpin, close a pushpin, pan (using mouse in corner of the map), etc. Am I mistaken? With the MapPointControl, can all of this only be done programatically?

Thanks!

Eric W

Mattys Consulting
10-08-2007, 12:00 PM
Hi Newbie,

Each of these items can be done with the MapPoint ActiveX control,
and the objects you've named. The Map has a before_click event,
mouseup, mousedown, mousemove, as well as SelectionChange and
afterredraw.

You need to read about these in help and then decide where and when
they should interact to accomplish your purpose with in the time allotted.

For instance, the pushpin is a seperate object that would be manipulated based upon what you've formulated above.

Hope this 'kinda' helps ...
Programming Information in Help often needs interpretation.

Mike Mattys

 
Web mp2kmag.com
mapforums.com