|
Hi,
here you have my code, I think I am doing exactly the same, don't I?
I debugged teh routine and every time that I right-clicked on the map, the function is executed the if clause is true but the default mappoint message
still appears.
void CMyAppView::OnBeforeClickMapMp(long Button, long Shift, long X, long Y, BOOL FAR* Cancel)
{
if(Button == MY_MOUSE_RIGHT_CLICK)
{
//mappoint popup menu will never popup
*Cancel = TRUE;
}
}
Thank you for your help! |