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 I ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #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: 899
Blog Entries: 10
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: 899
Blog Entries: 10
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

Tags
click, double, pushpin


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 02:54 AM
getAddress(ldouble lat, double lon) (And a question with it) Gianmaria MapPoint 2006/2009 Discussion 1 05-13-2005 01:21 PM
Long/Lat from click. Milo MapPoint 2006/2009 Discussion 7 10-29-2004 08:32 AM
How to add click event for VB.Net ? Anonymous MapPoint 2006/2009 Discussion 2 12-31-2003 01:15 AM
Double Click on map Anonymous MapPoint 2006/2009 Discussion 0 08-08-2003 07:42 PM


All times are GMT -5. The time now is 10:51 PM.


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


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 48 49 50 51 52 53 54 55