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
View RSS Feed

Mappoint 2009

optimize routes in mappoint 2009 with dialog

Rate this Entry
by , 11-26-2008 at 06:07 PM (1800 Views)
Well I've been trying for about a day now to get mappoint 2009 to optimize a route with the dialog box. It worked fine for <= 2006 with this call :

SendMessage(FindWindow(null, "Map - Microsoft MapPoint North America"), WM_COMMAND, 35388, 0);

after some Spy++ investigational work, i found that this is what needs to be sent in mappoint 2009:

SendMessage(FindWindow(null, "Map - Microsoft MapPoint North America"), WM_COMMAND, 35221, 0);

I'll post exactly how I figured this out in the coming days.
Categories
Uncategorized

Comments

  1. Eric Frost's Avatar
    • |
    • permalink
    Cool, thanks! - Eric


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 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123