WindowEvents Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides events for changes made to Windows in the environment. Use this object for functionality and refer to WindowEventsClass for this object’s documentation.
public interface class WindowEvents : EnvDTE::_dispWindowEvents_Event, EnvDTE::_WindowEvents
public interface class WindowEvents : EnvDTE::_dispWindowEvents_Event
public interface class WindowEvents : EnvDTE::_dispWindowEvents_Event, EnvDTE::_WindowEvents
__interface WindowEvents : EnvDTE::_dispWindowEvents_Event, EnvDTE::_WindowEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.WindowEventsClass))]
[System.Runtime.InteropServices.Guid("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
public interface WindowEvents : EnvDTE._dispWindowEvents_Event, EnvDTE._WindowEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.WindowEventsClass))]
[System.Runtime.InteropServices.Guid("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface WindowEvents : EnvDTE._dispWindowEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.WindowEventsClass))>]
[<System.Runtime.InteropServices.Guid("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")>]
type WindowEvents = interface
interface _WindowEvents
interface _dispWindowEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.WindowEventsClass))>]
[<System.Runtime.InteropServices.Guid("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type WindowEvents = interface
interface _dispWindowEvents_Event
Public Interface WindowEvents
Implements _dispWindowEvents_Event, _WindowEvents
Public Interface WindowEvents
Implements _dispWindowEvents_Event
- Derived
- Attributes
- Implements
Examples
<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) |