Condividi tramite


IVsWindowFrameNotify Interface

Definition

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

public interface class IVsWindowFrameNotify
public interface class IVsWindowFrameNotify
__interface IVsWindowFrameNotify
[System.Runtime.InteropServices.Guid("FE46E1DF-E8A8-48D3-932E-B61BC092E681")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsWindowFrameNotify
[System.Runtime.InteropServices.Guid("FE46E1DF-E8A8-48D3-932E-B61BC092E681")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWindowFrameNotify
[<System.Runtime.InteropServices.Guid("FE46E1DF-E8A8-48D3-932E-B61BC092E681")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsWindowFrameNotify = interface
[<System.Runtime.InteropServices.Guid("FE46E1DF-E8A8-48D3-932E-B61BC092E681")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWindowFrameNotify = interface
Public Interface IVsWindowFrameNotify
Derived
Attributes

Remarks

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.

Methods

OnDockableChange(Int32)

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

OnMove()

Notifies the VSPackage that a window is being moved.

OnShow(Int32)

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

OnSize()

Notifies the VSPackage that a window is being resized.

Applies to