WindowEvents Interface
Provides events for changes made to Windows in the environment. Use this object for functionality and refer to WindowEventsClass for this object’s documentation.
Assembly: EnvDTE (in EnvDTE.dll)
| Name | Description | |
|---|---|---|
![]() | add_WindowActivated(_dispWindowEvents_WindowActivatedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | add_WindowClosing(_dispWindowEvents_WindowClosingEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | add_WindowCreated(_dispWindowEvents_WindowCreatedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | add_WindowMoved(_dispWindowEvents_WindowMovedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | remove_WindowActivated(_dispWindowEvents_WindowActivatedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | remove_WindowClosing(_dispWindowEvents_WindowClosingEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | remove_WindowCreated(_dispWindowEvents_WindowCreatedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | remove_WindowMoved(_dispWindowEvents_WindowMovedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
| Name | Description | |
|---|---|---|
![]() | WindowActivated | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | WindowClosing | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | WindowCreated | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
![]() | WindowMoved | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispWindowEvents_Event.) |
The WindowEvents object is returned by 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

