Share via


FocusChangeForCrossThreadClientEventArgs Class

Definition

Raised by a control on Visual Studio's UI thread when it has a child Win32 HWND that belongs to a different thread and has acquired Win32 focus. Required for proper focus restoration when Visual Studio loses / 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
FocusChangeForCrossThreadClientEventArgs

Constructors

FocusChangeForCrossThreadClientEventArgs(IntPtr, Object)

Constructs a FocusChangeForCrossThreadClientEventArgs object which is associated with the given window and eminating from the given source object.

FocusChangeForCrossThreadClientEventArgs(IntPtr)

Constructs a FocusChangeForCrossThreadClientEventArgs object which is associated with the given window.

Fields

FocusChangeForCrossThreadClientEvent

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

Properties

HwndGainingFocus

The HWND of the window that is gaining focus.

Applies to