Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Tool-tips with Pushpins

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
taylorkand@gmail.com - 19 Mar 2008 21:10 GMT
I am working on a map display which is linked to a database containing
information on our trucks.  I.E. Lat/Long, Customer, Truck number,
Product, etc...  I have a form with mappoint control and can get the
map to display with many Mappoint pushpins at the locations of our
trucks.  What I am trying to do it set up tool-tips messages on the
pushpins showing information from our database.  However I can't
figure out how to add a tool-tip to a pushpin.  Please HELP!

I'm working in C sharp, but suggestions in any language would be
great!

Thanks,
Kyle
Gilles Kohl [MVP] - 19 Mar 2008 23:45 GMT
>I am working on a map display which is linked to a database containing
>information on our trucks.  I.E. Lat/Long, Customer, Truck number,
[quoted text clipped - 6 lines]
>I'm working in C sharp, but suggestions in any language would be
>great!

There's no tooltip functionality for MapPoint pushpins AFAIK, but you could
set the "Note" property, e.g. like so:

        MapPoint.Location location =
axMappointControl1.ActiveMap.GetLocation(47,-122, 0);
        MapPoint.Pushpin thePin =
axMappointControl1.ActiveMap.AddPushpin(location, "My pushpin");
        thePin.Note = "This is a pushpin note";
        thePin.BalloonState = MapPoint.GeoBalloonState.geoDisplayBalloon;

  Regards,
  Gilles [MVP].

  (Please reply to the group, not via email.
  Find my MVP profile with past articles / downloads here:
  http://www.gilleskohl.de/mvpprofile.htm)
taylorkand@gmail.com - 20 Mar 2008 13:41 GMT
> >I am working on a map display which is linked to a database containing
> >information on our trucks.  I.E. Lat/Long, Customer, Truck number,
[quoted text clipped - 23 lines]
>    Find my MVP profile with past articles / downloads here:
>    http://www.gilleskohl.de/mvpprofile.htm)

Thanks,  I'll check into that and see how it goes!

Kyle

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.