MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Displaying a Tool Tip when hovering over a pushpin

This is a discussion on Displaying a Tool Tip when hovering over a pushpin within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Greetings, Does anyone know how to temporarily display a tool tip, or floating text, when the mouse is over a ...


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 02-03-2006
Senior Member
Green Belt
 
Join Date: Jul 2005
Posts: 105
Displaying a Tool Tip when hovering over a pushpin

Greetings,

Does anyone know how to temporarily display a tool tip, or floating text, when the mouse is over a given symbol or pushpin? I know how to use balloons, but for a congested map, they just get in the way. I'd much rather see them appear when the user's hovering the mouse cursor above it, and see them disappear when the user moves the mouse.

Does anybody know how to do this?

Thanks,
Bob
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-04-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,047
Hi,

Yes you can set the Note or so when the mouse move over it. To know when the mouse move over it you have to install an event handler in OnMouseMove event.

You have to keep an array of all the xy positions of all the pushpins, and in MouseMove you can check if you are nearby or over one of the pushpins. If so you take according action.

Note that you have to optimize this code for speed as thsi event handler is called thousands of times a second.
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-08-2006
Junior Member
Yellow Belt
 
Join Date: Nov 2002
Posts: 12
Hi,

You could try clicking Tools, Options - then tick the check box against Show Data Tips.
It might be ok for what you need.

Regards

Stephen
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 03-15-2006
citrix_99301's Avatar
Junior Member
White Belt
 
Join Date: Mar 2006
Posts: 11
Displaying a Tool Tip when hovering over a pushpin

How exactly do you capture the Lat/Lon or X/Y coordinates of the pushpin?

Or, is it possible to create a location array and fill that with the pushpin locations? I haven't figured out how to do this either.

Thanks for any help you can give.

Andre Ranieri
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 03-18-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,047
Hi,

A pushpin has a Location object. To know the lat/long coordinates of this Location you can use CalcPos routine you find on this forum: http://www.mp2kmag.com/articles.asp?...xtract.lat.lon

To find Lat/Long coordinates from out of X/Y points you can use XYToLocation method.
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
Pushpin Tool - Wish List Wanted for next version John Meyer News and Announcements 0 03-21-2006 06:10 AM
Download Trial Pushpin Tool wadams MapPoint 2006/2009 Discussion 3 06-18-2005 08:27 AM
Displaying Balloon on Pushpin Anonymous MapPoint 2006/2009 Discussion 11 01-31-2005 02:53 PM
Pushpin Tool davidb Products: Pushpin Tool, Single State Mapper 2 10-09-2003 09:56 AM
PUSHPIN TOOL gsc1ugs Products: Pushpin Tool, Single State Mapper 10 03-07-2003 11:08 AM


All times are GMT -5. The time now is 08:29 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

Cheap Flights to Brussels
Book cheap flights to Brussels online today. Brussels is a city with diverse culture with over 100 museums to visit and an array of different architectural designs to view.

Spain Weather
Check Spain Weather before you travel. We provide information on Spain including weather, flights and accommodation.

Cheap Holiday Turkey
Booking a cheap holiday to Turkey doesn't have to be at the expense of enjoyment. Dealchecker.co.uk searches holidays from the leading UK Tour Operators.

Egypt Holidays
Visit one of the most spectacular sightseeing destinations in the world with The Holiday Place. Egypt holidays provide a fantastic break!

Cheap Turkey Holidays
The best time of year to sneak in cheap Turkey holidays is during the off-peak season. Check out the great deals available during April, May or October. For other tips on how to bag a great value holiday simply check online at ulookubook.com

Cheap Travel
Travel.co.uk has some excellent offers on cheap travel. Click here.

Cheap Holidays to Goa
Dine on delightful seafood in west India. Find information on cheap holidays in Goa 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 48 49 50 51