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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("26ACC7FD-C665-426B-B120-E96762C5DD1A")> _
Public Interface IVsCodeWindowEvents
'Usage
Dim instance As IVsCodeWindowEvents
[InterfaceTypeAttribute()]
[GuidAttribute("26ACC7FD-C665-426B-B120-E96762C5DD1A")]
public interface IVsCodeWindowEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"26ACC7FD-C665-426B-B120-E96762C5DD1A")]
public interface class IVsCodeWindowEvents
public interface IVsCodeWindowEvents

Remarks

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.

See Also

Reference

IVsCodeWindowEvents Members

Microsoft.VisualStudio.TextManager.Interop Namespace