WindowEvents Schnittstelle

Definition

Stellt Ereignisse für Änderungen bereit, die in der-Umgebung an Windows vorgenommen wurden.Provides events for changes made to Windows in the environment. Verwenden Sie dieses Objekt für die-Funktionalität, und verweisen Sie in WindowEventsClass der Dokumentation dieses Objekts auf.Use this object for functionality and refer to WindowEventsClass for this object’s documentation.

public interface class WindowEvents : EnvDTE::_dispWindowEvents_Event, EnvDTE::_WindowEvents
public interface class WindowEvents : EnvDTE::_dispWindowEvents_Event, EnvDTE::_WindowEvents
__interface WindowEvents : EnvDTE::_dispWindowEvents_Event, EnvDTE::_WindowEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.WindowEventsClass))]
[System.Runtime.InteropServices.Guid("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
public interface WindowEvents : EnvDTE._dispWindowEvents_Event, EnvDTE._WindowEvents
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.WindowEventsClass))>]
[<System.Runtime.InteropServices.Guid("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")>]
type WindowEvents = interface
    interface _WindowEvents
    interface _dispWindowEvents_Event
Public Interface WindowEvents
Implements _dispWindowEvents_Event, _WindowEvents
Abgeleitet
Attribute
Implementiert

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  

Hinweise

Das- WindowEvents Objekt wird von zurückgegeben DTE.Events .The WindowEvents object is returned by DTE.Events.

Methoden

add_WindowActivated(_dispWindowEvents_WindowActivatedEventHandler) (Geerbt von _dispWindowEvents_Event)
add_WindowClosing(_dispWindowEvents_WindowClosingEventHandler) (Geerbt von _dispWindowEvents_Event)
add_WindowCreated(_dispWindowEvents_WindowCreatedEventHandler) (Geerbt von _dispWindowEvents_Event)
add_WindowMoved(_dispWindowEvents_WindowMovedEventHandler) (Geerbt von _dispWindowEvents_Event)
remove_WindowActivated(_dispWindowEvents_WindowActivatedEventHandler) (Geerbt von _dispWindowEvents_Event)
remove_WindowClosing(_dispWindowEvents_WindowClosingEventHandler) (Geerbt von _dispWindowEvents_Event)
remove_WindowCreated(_dispWindowEvents_WindowCreatedEventHandler) (Geerbt von _dispWindowEvents_Event)
remove_WindowMoved(_dispWindowEvents_WindowMovedEventHandler) (Geerbt von _dispWindowEvents_Event)

Ereignisse

WindowActivated

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

Nur Microsoft-interne Verwendung.Microsoft Internal Use Only.

(Geerbt von _dispWindowEvents_Event)
WindowClosing

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

Nur Microsoft-interne Verwendung.Microsoft Internal Use Only.

(Geerbt von _dispWindowEvents_Event)
WindowCreated

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

Nur Microsoft-interne Verwendung.Microsoft Internal Use Only.

(Geerbt von _dispWindowEvents_Event)
WindowMoved

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

Nur Microsoft-interne Verwendung.Microsoft Internal Use Only.

(Geerbt von _dispWindowEvents_Event)

Gilt für: