Click or drag to resize

WindowsUtilitiesAllowSetForegroundWindow Method

Enables the specified process to set the foreground window using the SetForegroundWindow function. The calling process must already be able to set the foreground window.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool AllowSetForegroundWindow(
	int processId
)

Parameters

processId
Type: SystemInt32
The process identifier.

Return Value

Type: Boolean
true if the call succeeded, false otherwise.
See Also