View Full Version : Adding me own options to a menu.

09-11-2002, 10:09 AM
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.


John Meyer
09-11-2002, 08:18 PM
I don't think that can be done but you can add Items to the Tools menu by installing a COM Addin.

09-17-2002, 04:43 PM
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