Share via


WindowEvents Interface

Definition

Provides events for changes made to Windows in the environment. Use this object for functionality and refer to WindowEventsClass for this object’s documentation.

C++/CX
public interface class WindowEvents : EnvDTE::_dispWindowEvents_Event, EnvDTE::_WindowEvents
Derived
Attributes
Implements

Examples

VB
<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  

Remarks

The WindowEvents object is returned by DTE.Events.

Methods

Events

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)

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022