AnsweredAssumed Answered

Disable the Data Frame Context menu when you right-click on a map in ArcMap

Question asked by drspatial on Jul 3, 2013
Latest reply on Jul 3, 2013 by drspatial
I have written a tool in my editor extension add-in that allows the user to select a feature from one layer with a left click and then select another feature with a right click, which then performs some analysis.  However, when the user right-clicks, I get the Data Frame Context menu, which I want to disable.  Does anybody know how to disable or suppress this popup menu from appearing on a right-click?  My code is executed on the MouseDown event and I don't have any code in the MouseUp event for the tool.  I have found the UID for the Data Frame Context Menu, but I have not seen any methods or properties that allow me to disable it.