Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IVsCodeWindowManager Interface
Collapse the table of content
Expand the table of content

IVsCodeWindowManager Interface

Allows adornments, such as drop-down bars, to be added to or removed from a code window.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("4758CB90-6110-4440-B577-2E3FC91E4B84")] 
public interface IVsCodeWindowManager
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("4758CB90-6110-4440-B577-2E3FC91E4B84") */ 
public interface IVsCodeWindowManager
InterfaceTypeAttribute(1) 
GuidAttribute("4758CB90-6110-4440-B577-2E3FC91E4B84") 
public interface IVsCodeWindowManager

To get the code window manager attached to an instance of the IVsCodeWindow interface, call QueryService for SVsCodeWindowManager service and the interface you want on it. It is not appropriate for any external entity, other than the code window itself, to call IVsCodeWindowManager methods, but using this approach, you can expose private interfaces that may be useful to other parties on the code window manager.

Notes to Callers A code window calls this interface through the environment using the service SVsCodeWindowManager when adding or removing adornments. See illustrations of the implementation and/or calling of this interface in the sample Figures Language Service Sample. This is a convenient place for the following operations:

  • Adding a drop-down bar (IVsDropdownBar).

  • Adding attributes/context to the current user context (in some situations).

  • Updating an editor caption by calling the SetBaseEditorCaption method or the GetEditorCaption method. Then, use the IVsFindTarget interface to get the window frame, and use the window frame to set the actual window frame's editor caption.

Community Additions

ADD
Show:
© 2015 Microsoft