IVsCodeWindowEvents Interface

 

Allows a VSPackage to listen to certain events associated with the view that contains an IVsCodeWindow object.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("26ACC7FD-C665-426B-B120-E96762C5DD1A")]
public interface IVsCodeWindowEvents

NameDescription
System_CAPS_pubmethodOnCloseView(IVsTextView)

Called when a view has been closed.

System_CAPS_pubmethodOnNewView(IVsTextView)

Called when a view has just been created.

This interface is used to obtain certain view-oriented events (specifically, new view and close view) normally handled by a code window manager.

Notes to Implementers:

Implement this interface on the same class that implements the IVsCodeWindow interface to receive new view and close view events in your code window. You do not need to implement this interface if you implement a code window manager with the IVsCodeWindowManager interface.

Notes to Callers:

This interface can be obtained by calling the QueryInterface method in the IVsCodeWindow interface. Note that the IVsCodeWindowEvents interface is optional and may not exist on a particular IVsCodeWindow object.

Return to top
Show: