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(1)]
[GuidAttribute("FE46E1DF-E8A8-48D3-932E-B61BC092E681")]
public interface IVsWindowFrameNotify

NameDescription
System_CAPS_pubmethodOnDockableChange(Int32)

Notifies the VSPackage that a window's docked state is being altered.

System_CAPS_pubmethodOnMove()

Notifies the VSPackage that a window is being moved.

System_CAPS_pubmethodOnShow(Int32)

Notifies the VSPackage of a change in the window's display state.

System_CAPS_pubmethodOnSize()

Notifies 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 .545e349b-a992-4a4d-9ad8-1d576cef3a3e

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.

Return to top
Show: