Click or drag to resize

WindowsUtilitiesGetThreadFocusWindow Method

Gets a handle to the window that has the keyboard focus for a given thread.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static IntPtr GetThreadFocusWindow(
	int threadId
)

Parameters

threadId
Type: SystemInt32
The thread identifier.

Return Value

Type: IntPtr
A handle to the window that has the keyboard focus.
See Also