共用方式為


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)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("FE46E1DF-E8A8-48D3-932E-B61BC092E681")> _
Public Interface IVsWindowFrameNotify
'用途
Dim instance As IVsWindowFrameNotify
[InterfaceTypeAttribute()]
[GuidAttribute("FE46E1DF-E8A8-48D3-932E-B61BC092E681")]
public interface IVsWindowFrameNotify
[InterfaceTypeAttribute()]
[GuidAttribute(L"FE46E1DF-E8A8-48D3-932E-B61BC092E681")]
public interface class IVsWindowFrameNotify
[<InterfaceTypeAttribute()>]
[<GuidAttribute("FE46E1DF-E8A8-48D3-932E-B61BC092E681")>]
type IVsWindowFrameNotify =  interface end
public interface IVsWindowFrameNotify

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.

See Also

Reference

IVsWindowFrameNotify Members

Microsoft.VisualStudio.Shell.Interop Namespace