VS.NET context menu?
-
Hi all, I am writing a fairly simple VS.NET addin (my first). One of the things I need to do: add an item (or a few) to the default context menu in the editor window. My guess is that I need to manipulate some member of the Commandbars collection, but I don't know which (there are about 210) or quite how. Can anyone point me to a good resource? None of the Addin examples I looked at here did this...unless I miss it...which is always possible :) Thanks in advance, Bill
-
Hi all, I am writing a fairly simple VS.NET addin (my first). One of the things I need to do: add an item (or a few) to the default context menu in the editor window. My guess is that I need to manipulate some member of the Commandbars collection, but I don't know which (there are about 210) or quite how. Can anyone point me to a good resource? None of the Addin examples I looked at here did this...unless I miss it...which is always possible :) Thanks in advance, Bill
First, be sure to read the Automation and Extensibility Reference[^] in the Visual Studio .NET documentation if you haven't already. Second, MSDN[^] has had many good articles in the past about extensibility in Visual Studio. You can find most of them under Extensibility Articles[^]. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles]