Visual Studio Add-In Programming

Local

External


GUIDs, Special

NameValue
GUID_TaskList{4a9b7e51-aa16-11d0-a8c5-00a0c921a4d2}
Guid ObjectBrowser{970d9861-ee83-11d0-a778-00a0c91110c3}
Guid OutputWindow{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}
Guid ProjectExplorer{3ae79031-e1bc-11d0-8f78-00a0c9110057}
Guid PropertyBrowser{eefa5220-e298-11d0-8f78-00a0c9110057}
Guid RelatedLinks{66dba47c-61df-11d2-aa79-00c04f990343}
Guid ServerExplorer{74946827-37a0-11d2-a273-00c04f8ef4ff}
Guid TaskList{4a9b7e51-aa16-11d0-a8c5-00a0c921a4d2}
Guid Toolbox{b1e99781-ab81-11d0-b683-00aa00a3ee26}

Original info from ...mono-devel-list/2003-June/001103.html


Cursor Position, how to get it


TextDocument objTextDocument = (TextDocument) applicationObject.ActiveDocument.Object("TextDocument");
EditPoint objEditPoint = objTextDocument.Selection.AnchorPoint.CreateEditPoint();
// objEditPoint is at the Cursor Position
objEditPoint.Insert( "/* JBP Test */");

Menu item is missing from Tools Menu

Change the part of OnConnection() that decides when to add the control from something like this:


if( connectMode == Extensibility.ext_ConnectMode.ext_cm_UISetup)

To:


if( (connectMode == Extensibility.ext_ConnectMode.ext_cm_UISetup) ||
    (connectMode == Extensibility.ext_ConnectMode.ext_cm_AfterStartup) )

Documentation, where to find it

if( (connectMode == Extensibility.ext_ConnectMode.ext_cm_UISetup) || (connectMode == Extensibility.ext_ConnectMode.ext_cm_AfterStartup) )