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)

[InterfaceTypeAttribute()]
[GuidAttribute("FE46E1DF-E8A8-48D3-932E-B61BC092E681")]
public interface IVsWindowFrameNotify

The IVsWindowFrameNotify type exposes the following members.

  NameDescription
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.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft