Click or drag to resize

WindowsUtilitiesSetFocus Method

Sets the keyboard focus to the specified window. The window must be attached to the calling thread's message queue.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IntPtr SetFocus(
	IntPtr handle
)

Parameters

handle
Type: SystemIntPtr
The window handle.

Return Value

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