FocusChangeForCrossThreadClientEventArgs FocusChangeForCrossThreadClientEventArgs FocusChangeForCrossThreadClientEventArgs FocusChangeForCrossThreadClientEventArgs Class

Definition

Event arguments for an event raised by a control on the Visual Studio UI thread when it has a child Win32 HWND that belongs to a different thread and has acquiredWin32 focus. It is required for proper focus restoration when Visual Studio loses or regains activation.

public ref class FocusChangeForCrossThreadClientEventArgs sealed : System::Windows::RoutedEventArgs
public sealed class FocusChangeForCrossThreadClientEventArgs : System.Windows.RoutedEventArgs
type FocusChangeForCrossThreadClientEventArgs = class
    inherit RoutedEventArgs
Public NotInheritable Class FocusChangeForCrossThreadClientEventArgs
Inherits RoutedEventArgs
Inheritance
FocusChangeForCrossThreadClientEventArgsFocusChangeForCrossThreadClientEventArgsFocusChangeForCrossThreadClientEventArgsFocusChangeForCrossThreadClientEventArgs

Constructors

FocusChangeForCrossThreadClientEventArgs(IntPtr) FocusChangeForCrossThreadClientEventArgs(IntPtr) FocusChangeForCrossThreadClientEventArgs(IntPtr) FocusChangeForCrossThreadClientEventArgs(IntPtr)

Initializes a new instance of FocusChangeFOrCrossThreadClientEventArgs.

FocusChangeForCrossThreadClientEventArgs(IntPtr, Object) FocusChangeForCrossThreadClientEventArgs(IntPtr, Object) FocusChangeForCrossThreadClientEventArgs(IntPtr, Object) FocusChangeForCrossThreadClientEventArgs(IntPtr, Object)

Initializes a new instance of FocusChangeFOrCrossThreadClientEventArgs that is associated with the specified window.

Fields

FocusChangeForCrossThreadClientEvent FocusChangeForCrossThreadClientEvent FocusChangeForCrossThreadClientEvent FocusChangeForCrossThreadClientEvent

An event raised to alert Visual Studio to the fact that a window belonging to a thread other than the Visual Studio UI thread is gaining Win32 focus.

Properties

HwndGainingFocus HwndGainingFocus HwndGainingFocus HwndGainingFocus

Gets the HWND of the window that is gaining focus.

Applies to