MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Double Click on a Pushpin

This is a discussion on Double Click on a Pushpin within the MapPoint 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Double Click on a Pushpin

I'm working with Mappoint Europe 2002 and Visual C++. I want to do double click on a pushpin, which I have previosly created, and showa new dialog with the information of the pushpin (lat/lon,address...).

Thanks you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Look at pushpin.parent. Not sure, but I think that's the right direction to go. (try 'fields')
Not an expert myself, but perhaps it might help

Good luck

Nick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 742
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
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 02-28-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 02-28-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 742
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
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
A simple map with a pushpin on click cojmezek MapPoint 2006/2009 Discussion 1 10-13-2005 01:54 AM
getAddress(ldouble lat, double lon) (And a question with it) Gianmaria MapPoint 2006/2009 Discussion 1 05-13-2005 12:21 PM
Long/Lat from click. Milo MapPoint 2006/2009 Discussion 7 10-29-2004 07:32 AM
How to add click event for VB.Net ? Anonymous MapPoint 2006/2009 Discussion 2 12-31-2003 12:15 AM
Double Click on map Anonymous MapPoint 2006/2009 Discussion 0 08-08-2003 06:42 PM


All times are GMT -5. The time now is 04:45 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Flights from Edinburgh
Book flights from Edinburgh to exotic destinations all over the globe. Holiday Hypermarket will search for the latest great deals, so you don't have to.

Portugal Holidays
Find great Portugal Holidays with Travel Counsellors. A personal Travel Counsellor can help you plan the perfect holiday to Portugal.

Holidays Italy
Book your holidays in Italy. Italy has a great climate and the beaches to go with it. Book a great deal for great value online at dealchecker.co.uk.

Antigua Holidays
We have the most popular Antigua holidays at highly competitive prices at The Holiday Place. Book a break in sunny Antigua today.

Portugal
As well as providing some great weather Portugal has much to offer culturally. There are numerous museums, monuments and places of historical interest to explore. Despite the rich history there is a buzzing nightlife and great shopping too.

Travel
Before making a choice regarding travel, check out the amazing variety of options on Travel.co.uk.

Gran Canaria Holidays
Visit the Canary Islands! See information on Gran Canaria holidays at On The Beach!


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47