WindowActivated Event
Collapse the table of content
Expand the table of content

WindowEventsClass.WindowActivated Event

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Occurs when a window receives the focus.

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

public virtual event _dispWindowEvents_WindowActivatedEventHandler WindowActivated

WindowActivated does not occur until the environment is completely initialized, and it does not occur with the first window to receive focus during startup of the environment.

Public Sub WindowEvents_WindowActivated(ByVal GotFocus As EnvDTE.Window, ByVal LostFocus As EnvDTE.Window) Handles WindowEvents.WindowActivated
   MsgBox("test")
End Sub
Return to top
Show:
© 2016 Microsoft