Hi,
I want to add an option to the menu that appears when you right click over a pushpin. does anyone know if this can be done and if so how.
Thanks
This is a discussion on Adding me own options to a menu. within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, I want to add an option to the menu that appears when you right click over a pushpin. does ...
Hi,
I want to add an option to the menu that appears when you right click over a pushpin. does anyone know if this can be done and if so how.
Thanks
I don't think that can be done but you can add Items to the Tools menu by installing a COM Addin.
John
http://www.support-pc.com
Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
You can intercept the "before_click" event of mappoint, and set "cancel" = true, so mappoint ignore's the, fe, right click, and you can call you own menu...
The only problem I had was that as long as you were in the "before_click" event, you couldn't call because mappoint is 'paused', and still waiting what to do with this click...
Simple solution(but not a good one, but it does the trick):
in the "before_click" event:
set cancel = true
start a timer (with small interval)
and if the timer triggers, your menu is called...
hope this helps
greetz Joeba
There are currently 1 users browsing this thread. (0 members and 1 guests)