Share via


FocusChangeForCrossThreadClientEventArgs Constructor (IntPtr, Object)

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    hwndGainingFocus As IntPtr, _
    source As Object _
)
public FocusChangeForCrossThreadClientEventArgs(
    IntPtr hwndGainingFocus,
    Object source
)
public:
FocusChangeForCrossThreadClientEventArgs(
    IntPtr hwndGainingFocus, 
    Object^ source
)
new : 
        hwndGainingFocus:IntPtr * 
        source:Object -> FocusChangeForCrossThreadClientEventArgs
public function FocusChangeForCrossThreadClientEventArgs(
    hwndGainingFocus : IntPtr, 
    source : Object
)

Parameters

  • hwndGainingFocus
    Type: IntPtr

    The HWND of the window that is gaining focus

  • source
    Type: Object

    The alternate source to list as the source of the event.

.NET Framework Security

See Also

Reference

FocusChangeForCrossThreadClientEventArgs Class

FocusChangeForCrossThreadClientEventArgs Overload

Microsoft.VisualStudio.Shell Namespace