Compartilhar via


IVsWindowFrameNotify3 Interface

Notifies a VSPackage when changes are made to one of its window frames.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("8C213AC2-FF13-4361-9FC5-39D368D26CD3")> _
Public Interface IVsWindowFrameNotify3
[InterfaceTypeAttribute()]
[GuidAttribute("8C213AC2-FF13-4361-9FC5-39D368D26CD3")]
public interface IVsWindowFrameNotify3
[InterfaceTypeAttribute()]
[GuidAttribute(L"8C213AC2-FF13-4361-9FC5-39D368D26CD3")]
public interface class IVsWindowFrameNotify3
[<InterfaceTypeAttribute()>]
[<GuidAttribute("8C213AC2-FF13-4361-9FC5-39D368D26CD3")>]
type IVsWindowFrameNotify3 =  interface end
public interface IVsWindowFrameNotify3

The IVsWindowFrameNotify3 type exposes the following members.

Methods

  Name Description
Public method OnClose Notifies the VSPackage that a window frame is closing and tells the environment what action to take.
Public method OnDockableChange Notifies the VSPackage that a window's docked state is being altered.
Public method OnMove Notifies the VSPackage that a window is being moved.
Public method OnShow Notifies the VSPackage of a change in the window's display state.
Public method OnSize Notifies the VSPackage that a window is being resized.

Top

Remarks

A VSPackage that needs to optimize or have extensive control over windows sited in window frames implements this interface. One reason for this might be to control the number of window handles. IVsWindowFrameNotify3 is implemented on the object that is passed to the window frame with the property VSFPROPID_ViewHelper from the __VSFPROPID enumeration.

See illustrations of the implementation and/or calling of this interface in the sample Solution Extender.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace