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

The WindowEvents type exposes the following members.

  NameDescription
Public methodadd_WindowActivatedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public methodadd_WindowClosingInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public methodadd_WindowCreatedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public methodadd_WindowMovedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public methodremove_WindowActivatedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public methodremove_WindowClosingInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public methodremove_WindowCreatedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public methodremove_WindowMovedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Top

  NameDescription
Public eventWindowActivatedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public eventWindowClosingInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public eventWindowCreatedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Public eventWindowMovedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispWindowEvents_Event.)
Top

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft