We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IVsWindowFrameNotify2 Interface

Notifies clients when a window frame is closed.

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

public interface IVsWindowFrameNotify2

The IVsWindowFrameNotify2 type exposes the following members.

Public methodOnCloseNotifies the VSPackage that a window frame is closing and tells the environment what action to take.

This interface is to support the rare instance where a window frame hosts multiple doc windows, and needs to be notified when the host window frame is being closed.

Notes to Implementers

Implemented by a VSPackage that supports multiple document windows in a single window frame.

Notes to Callers

Called by the environment when a window frame is closed.