Q: Is there a way to add a menu item to a context menu when an overlay (anywhere on the overlay) is right-clicked? I used the GetMenuItems method of ICallback but that seems to focus on when a layer object is right clicked. I am developing a third party app that will be accessible via a custom toolbar in FV. When the custom app is open and someone right clicks an overlay in FV, I need the context menu to display an additional menu item that when selected, will display another custom form.
A: You can use GetMenuItemsEx? instead which is always called, even if the user doesn't right-click an object.
