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:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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