WindowEvents-Schnittstelle
Aktualisiert: November 2007
Stellt Ereignisse für Änderungen an Fenstern in der Umgebung bereit. Verwenden Sie dieses Objekt für Funktionalität, und verweisen Sie für die Dokumentation dieses Objekts auf WindowEventsClass.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
<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
Hinweise
Das WindowEvents-Objekt wird von DTE.Events zurückgegeben.
Beispiele
<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