I looking for solution (using ArcObject SDK 10.1 (VB.NET) ArcMap Addin template) to substitute the default shortcut "right-click" menu in the TOC (When a TOC Item is right-clicked) with a custom menu when a custom tool is active. (I would like default functionality when a custom tool is inactive)
I already do that in the map - I have a custom tool and when the tool I show a custom menu on right-click. The custom behavior only works within the map frame.
How can I do the same in the TOC?