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 2 of 2

Right Click Menu Mappoint Control - test for whether Close Curve has been selected

This is a discussion on Right Click Menu Mappoint Control - test for whether Close Curve has been selected within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hey folks Using vb6 + mappointcontrol, mp2k 2004 (iirc) I let a user create a custom polygon, build it as ...

  1. #1
    tfmiltz is offline Member Green Belt
    Join Date
    Feb 2005
    Posts
    52

    Right Click Menu Mappoint Control - test for whether Close Curve has been selected

    Hey folks

    Using vb6 + mappointcontrol, mp2k 2004 (iirc)

    I let a user create a custom polygon, build it as they click...

    Now, if the user selects from the right click menu 'Close Curve'

    I have no way of knowing whether it's closed.

    I'd anticipate MP would add the final set of coords -

    doesn't seem to as of current.

    I then added a custom Close Poly button - so the user can explicitly close it - and I will know they are formally done with the poly and ready to save - or do whatever with.

    My question is, how can I tell if they DO happen to use the 'Close Curve' right mouse click option which MP passes through if right click event occurs on the map. ?

    because it doesn't seem to have the final set of lat lon pair to match to the first.

    Anyone have any insights ?

    thanks in advance -

    in the meantime, let's just be glad that big asteroid about to hit mars next month wasn't heading our way !

    Tim Miltz

  2. #2
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Black Belt
    Join Date
    Dec 2002
    Posts
    1,040

    Re: Right Click Menu Mappoint Control - test for whether Close Curve has been selecte

    Hi Tim,

    Seems like there ought to be a windows message (registered) there that one could intercept or a numbered menu-item. Might be a place to start ...

    Mike Mattys

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Click events of context menu are not firing....
    By Learner in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 05-12-2008, 03:33 PM
  2. By Right-click displaying context menu on map
    By Banu in forum MapPoint Desktop Discussion
    Replies: 19
    Last Post: 10-16-2007, 08:46 AM
  3. Virtual Earth Map Control Test
    By Eric Frost in forum Bing Maps and MapPoint Web Service
    Replies: 0
    Last Post: 08-12-2005, 11:06 AM
  4. Preventing display of menu on R. Click of MapPoint Control
    By joer1234 in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 04-07-2005, 04:38 PM
  5. How to properly close mappoint control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-03-2005, 09:05 AM

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