This topic has not yet been rated - Rate this topic

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.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

[GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")] 
public interface WindowEvents : _WindowEvents, _dispWindowEvents_Event
/** @attribute GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF") */ 
public interface WindowEvents extends _WindowEvents, _dispWindowEvents_Event
GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF") 
public interface WindowEvents extends _WindowEvents, _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
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ