View Full Version : VB.NET & overriding the map point context menu...

09-05-2002, 08:25 AM
Hi, I'm building an application using the MapPoint control. I'm using the 9.0 Control from within VB.NET. I'm using the MapPoint.MapPointControl object. I'm trying to override the MapPoint Context menu with a .NET ContextMenu, but I don't seem to have any success doing so. I'm capturing the BeforeClick event, and turning off the event (cancel = true) and then trying to associate my context menu with the COM Callable wrapper. It does not seem to work. Any ideas?

A very small sample showing me just how to override the MapPoint context menu from within VB.NET would be greatly appreciated.

Anil Peres-da-Silva