Hi,
I just did following test:
MP ActiveX on a main form
Context menu named PopupMenu with 1 item and a Click event with:
then in BeforeClick:
Code:
private void MP_BeforeClick_1(object sender, AxMapPoint._IMappointCtrlEvents_BeforeClickEvent e)
{
e.cancel = true;
PopupMenu.Show(MousePosition);
When I click right the Popup menu is showed, and when Iclick the item the speaker does a happy beep
I use VS2005 and dotNet version 2.