WindowEvents (Interfaz)
Proporciona eventos para los cambios efectuados en Windows dentro del entorno.Utilice este objeto para obtener funcionalidad y haga referencia a WindowEventsClass para obtener la documentación de este objeto.
Espacio de nombres: EnvDTE
Ensamblado: EnvDTE (en EnvDTE.dll)
Sintaxis
'Declaración
<GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")> _
Public Interface WindowEvents _
Inherits _WindowEvents, _dispWindowEvents_Event
[GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
public interface WindowEvents : _WindowEvents,
_dispWindowEvents_Event
[GuidAttribute(L"0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
public interface class WindowEvents : _WindowEvents,
_dispWindowEvents_Event
[<GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")>]
type WindowEvents =
interface
interface _WindowEvents
interface _dispWindowEvents_Event
end
public interface WindowEvents extends _WindowEvents, _dispWindowEvents_Event
El tipo WindowEvents expone los siguientes miembros.
Métodos
Nombre | Descripción | |
---|---|---|
add_WindowActivated | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
add_WindowClosing | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
add_WindowCreated | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
add_WindowMoved | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
remove_WindowActivated | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
remove_WindowClosing | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
remove_WindowCreated | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
remove_WindowMoved | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
WindowActivated | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
WindowClosing | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
WindowCreated | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). | |
WindowMoved | Infraestructura. Sólo para uso interno de Microsoft. (Se hereda de _dispWindowEvents_Event). |
Arriba
Comentarios
DTE.Events devuelve el objeto WindowEvents.
Ejemplos
<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