MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Highlighted places in MapPoint control

This is a discussion on Highlighted places in MapPoint control within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I would like to find out how many highlighted places (not pushpins) are currently in a MapPoint control. 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 (6) Thread Tools Display Modes
  6 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 02-17-2007
Junior Member
White Belt
 
Join Date: Dec 2006
Posts: 10
Highlighted places in MapPoint control

Hi,

I would like to find out how many highlighted places (not pushpins) are currently in a MapPoint control. I don't need their details at the moment, just a count of how many there are will be fine.

Please can you help.

Thanks.

Regards,
Jonny
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-18-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Re: Highlighted places in MapPoint control

Hi,

I assume you mean that the user can highlight things and that you have to detect it.

If a user wants to highlight something he must first select it. So the place to be is in SelectionChange. There you check the selection and if it is Location then assign the selection to a Location object.

Then in the MouseUp event you can check if this location is assigned and highlited. If so you can keep it in a list. You can also check here if one of your list is disabled highliting. Dont forget to set it to null again to not do unnecacary CPU in the next MouseUp
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-18-2007
Junior Member
White Belt
 
Join Date: Dec 2006
Posts: 10
Re: Highlighted places in MapPoint control

Quote:
Originally Posted by Wilfried View Post

I assume you mean that the user can highlight things and that you have to detect it.
Yes, I am trying to determine whether or not to set the print area option of the PrintOut method to geoPrintHighlightedPlaces.

Quote:
If a user wants to highlight something he must first select it. So the place to be is in SelectionChange.
Yes, that makes sense. Thanks Wilfried.

Regards,
Jonny
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
control, highlighted, mappoint, places


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/highlighted-places-mappoint-control-5687.html

Posted By For Type Date
Programming MapPoint in .NET - MP2K Magazine This thread Refback 02-22-2007 10:04 AM
Map Visitors - Powered by Virtual Earth This thread Refback 02-19-2007 11:41 AM
Map Visitors - Powered by Virtual Earth This thread Refback 02-19-2007 11:41 AM
An API to Control MapPoint 2006 GPS Features - Part I of II - MapPoint Articles - MP2K Magazine This thread Refback 02-19-2007 12:49 AM
Creating Geocoding Exceptions for MapPoint Web Service Applications - MapPoint Articles - MP2K Magazine This thread Refback 02-19-2007 12:43 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 02-17-2007 08:02 PM

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
Excel macro based on Highlighted Mappoint pushpins RHill MapPoint 2006/2009 Discussion 2 10-11-2006 09:18 AM
Printing pins that are highlighted in optimized order dwedrick MapPoint 2006/2009 Discussion 2 10-12-2005 05:24 PM
Re: Keyboard control in mappoint activex control djcapslock MapPoint 2006/2009 Discussion 1 03-10-2005 11:16 AM
I am trying to get the distance between two places.... Anonymous MapPoint 2006/2009 Discussion 1 08-02-2002 08:01 AM
After someone places pushpins on the map I need th.... Anonymous MapPoint 2006/2009 Discussion 1 05-16-2002 01:43 PM


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