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

Snap to Road Feature duplicated

This is a discussion on Snap to Road Feature duplicated within the MapPoint Desktop Discussion forums, part of the Map Forums category; How do I programmatically (in VB) duplicate this Snap feature: Using MapPoint 2004, I right click on the map and ...

  1. #1
    douglashawkins is offline Junior Member White Belt
    Join Date
    Mar 2005
    Posts
    1

    Snap to Road Feature duplicated

    How do I programmatically (in VB) duplicate this Snap feature: Using MapPoint 2004, I right click on the map and select Route then Add Stop. I intentionally place the point near a road but not on it. Then I select that point and drag it a little bit in any direction, and it Snaps to the nearest road! Can I do this programmatically, if so, how?

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

    I cannot find any function to do that. If nobody knows you can eventually do a workaround by first select the waypoint and then syntesize mouse position, button and move yourself win win32 API call SendInput. However it is possible not a very nice solution..

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Snap to Road Feature duplicated

    Could you give an example in VB

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

    I cannot give you example right now for 2 reason:
    - I have not a direct example to copy/paste
    - I cannot code it in minutes

    It is stuff I did a few times but not often, so I have to seek in the win32 API to check about syntax and parameters. Please do so also. If you dont find or nobody responce then I will try to help you further out.

    Please check also a few links that may help you also:
    - on this website there is a few article / post about hidden features on mappoint. Maybe the one you wants is listed in there. Check this one maybe: http://www.mp2kmag.com/mappoint/disc...pic.asp?t=3790

    - check Microsoft for this one: http://msdn.microsoft.com/library/de.../sendinput.asp

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Snap to a Road
    By Eric Frost in forum MP2K Magazine Articles
    Replies: 12
    Last Post: 01-29-2008, 04:42 AM
  2. mappoint snap to road
    By Omair in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-25-2004, 07:44 AM
  3. new feature request
    By jhblack76 in forum Wish List
    Replies: 0
    Last Post: 10-27-2004, 09:23 AM
  4. MS Snap files
    By surferj in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 05-28-2003, 03:54 PM
  5. How can I find nearest point on a road from a point off-road
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-12-2002, 07:14 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 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