This documentation is archived and is not being maintained.

IVsWindowFrameNotify Interface

Notifies a package of changes to one of its window frames. Superceded by IVsWindowFrameNotify3.

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

public interface IVsWindowFrameNotify

The IVsWindowFrameNotify type exposes the following members.

Public methodOnDockableChangeNotifies the VSPackage that a window's docked state is being altered.
Public methodOnMoveNotifies the VSPackage that a window is being moved.
Public methodOnShowNotifies the VSPackage of a change in the window's display state.
Public methodOnSizeNotifies the VSPackage that a window is being resized.

A package that needs to optimize or have extensive control over windows sited in window frames implements this interface. One reason might be to control the number of window handles.

Implement the interface on the object passed to the window frame with the property VSFPROPID_ViewHelper from the __VSFPROPID enumeration

For examples of using the interface, see code for the sample Solution Extender.

Notes to Implementers

Implemented on a window sited in a window frame.

Notes to Callers

Called by the environment to notify a package of window manipulation by the user.