Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

Highlighted places in MapPoint control

This is a discussion on Highlighted places in MapPoint control within the MapPoint Desktop 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 ...

  1. #1
    Jonny1234 is offline 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

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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

  3. #3
    Jonny1234 is offline 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.

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel macro based on Highlighted Mappoint pushpins
    By RHill in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 10-11-2006, 09:18 AM
  2. Printing pins that are highlighted in optimized order
    By dwedrick in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 10-12-2005, 05:24 PM
  3. Re: Keyboard control in mappoint activex control
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-10-2005, 11:16 AM
  4. I am trying to get the distance between two places....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-02-2002, 08:01 AM
  5. After someone places pushpins on the map I need th....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-16-2002, 01:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96