Click or drag to resize

WindowsUtilitiesEnableWindow Method

Enables or disables mouse and keyboard input to the specified window or control. When input is disabled, the window does not receive input such as mouse clicks and key presses. When input is enabled, the window receives all input.

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

Parameters

handle
Type: SystemIntPtr
A handle to the window to be enabled or disabled.
enable
Type: SystemBoolean
if set to true enable the window; otherwise disable it.

Return Value

Type: Boolean
true if the window was previously disabled; otherwise false.
See Also