Click or drag to resize

WindowsUtilitiesSetActiveWindow Method

Activates a 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 SetActiveWindow(
	IntPtr handle
)

Parameters

handle
Type: SystemIntPtr
A handle to the top-level window to be activated.

Return Value

Type: IntPtr
The handle to the window that was previously active or IntPtr.Zero.
See Also