Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Double Click on a Pushpin within the MapPoint Desktop Discussion forums, part of the Map Forums category; I'm working with Mappoint Europe 2002 and Visual C++. I want to do double click on a pushpin, which I ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Double Click on a Pushpin Thanks you. |
| ||||
|
You need to trap the "object selected" event (forget what it is called now). Create an event handler and connect it. iirc, you have to set your project to be a COM Server, so you can pass your "event receiver" object and methods to MapPoint. Your event handler should then check the newly selected object (passed as a parameter) , to check that it is a Pushpin and which pushpin it is (via its id). Hope this helps - it should point you in the right direction. It is a while since I've played around with the event handling stuff! Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools See the Geoweb Guru for online mapping |
| |||
| visual c++ vs visual basic ?
hi .. i am a beginner in mappoint automation, it seems that mappoint is mainly used with visual basic ... what about visual c++ ? all what i need to do is to add pushpins on the map by giving long and lat if someone can give me a piece of advice, i will appreciate, thanks |
| ||||
|
Alain - see my pending article I wrote for MP2KMag - I think Eric said it should be published next week. This does some simple MapPoint manipulation (pushpin and route creation) in C++ but without relying to MFC. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools See the Geoweb Guru for online mapping |
![]() |
| Tags |
| click, double, pushpin |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A simple map with a pushpin on click | cojmezek | MapPoint Desktop Discussion | 1 | 10-13-2005 02:54 AM |
| getAddress(ldouble lat, double lon) (And a question with it) | Gianmaria | MapPoint Desktop Discussion | 1 | 05-13-2005 01:21 PM |
| Long/Lat from click. | Milo | MapPoint Desktop Discussion | 7 | 10-29-2004 08:32 AM |
| How to add click event for VB.Net ? | Anonymous | MapPoint Desktop Discussion | 2 | 12-31-2003 01:15 AM |
| Double Click on map | Anonymous | MapPoint Desktop Discussion | 0 | 08-08-2003 07:42 PM |