共用方式為


WindowEventsClass Class

Definition

Microsoft Internal Use Only.

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

public ref class WindowEventsClass : EnvDTE::WindowEvents
public ref class WindowEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class WindowEventsClass : EnvDTE::WindowEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispWindowEvents\0")]
[System.Runtime.InteropServices.Guid("2E260FD4-C130-4E6D-8EBC-4A3BFD188181")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class WindowEventsClass : EnvDTE.WindowEvents
[System.Runtime.InteropServices.Guid("2E260FD4-C130-4E6D-8EBC-4A3BFD188181")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispWindowEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class WindowEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispWindowEvents\0")>]
[<System.Runtime.InteropServices.Guid("2E260FD4-C130-4E6D-8EBC-4A3BFD188181")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type WindowEventsClass = class
    interface _WindowEvents
    interface WindowEvents
    interface _dispWindowEvents_Event
[<System.Runtime.InteropServices.Guid("2E260FD4-C130-4E6D-8EBC-4A3BFD188181")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispWindowEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type WindowEventsClass = class
Public Class WindowEventsClass
Implements WindowEvents
Public Class WindowEventsClass
Inheritance
WindowEventsClass
Attributes
Implements

Remarks

Refer to WindowEvents for this functionality. Do not instantiate from this class.

Constructors

WindowEventsClass()

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

Microsoft Internal Use Only.

Methods

add_WindowActivated(_dispWindowEvents_WindowActivatedEventHandler)
add_WindowClosing(_dispWindowEvents_WindowClosingEventHandler)
add_WindowCreated(_dispWindowEvents_WindowCreatedEventHandler)
add_WindowMoved(_dispWindowEvents_WindowMovedEventHandler)
remove_WindowActivated(_dispWindowEvents_WindowActivatedEventHandler)
remove_WindowClosing(_dispWindowEvents_WindowClosingEventHandler)
remove_WindowCreated(_dispWindowEvents_WindowCreatedEventHandler)
remove_WindowMoved(_dispWindowEvents_WindowMovedEventHandler)

Events

WindowActivated

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

Occurs when a window receives the focus.

WindowClosing

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

Occurs just before a window closes.

WindowCreated

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

Occurs when a new window is created.

WindowMoved

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

Occurs after a window is moved or resized.

Applies to