WindowEvents インターフェイス

更新 : 2007 年 11 月

環境内のウィンドウに対して行われた変更に対するイベントを提供します。このオブジェクトを使用して機能を提供します。このオブジェクトのドキュメントについては、WindowEventsClass を参照してください。

名前空間 :  EnvDTE
アセンブリ :  EnvDTE (EnvDTE.dll 内)

構文

'宣言
<GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")> _
Public Interface WindowEvents _
    Implements _WindowEvents, _dispWindowEvents_Event
'使用
Dim instance As WindowEvents
[GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
public interface WindowEvents : _WindowEvents, 
    _dispWindowEvents_Event
[GuidAttribute(L"0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
public interface class WindowEvents : _WindowEvents, 
    _dispWindowEvents_Event
public interface WindowEvents extends _WindowEvents, _dispWindowEvents_Event

解説

WindowEvents オブジェクトは DTE.Events によって返されます。

<System.ContextStaticAttribute()> Public WithEvents WindowEvents As EnvDTE.WindowEvents

Public Sub WindowEvents_WindowActivated(ByVal GotFocus As EnvDTE.Window, ByVal LostFocus As EnvDTE.Window) Handles WindowEvents.WindowActivated
   MsgBox("test")
End Sub

参照

参照

WindowEvents メンバ

EnvDTE 名前空間