Function Reference


_WinAPI_EnableWindow

Enables or disables mouse and keyboard input to the specified window or control

#include <WinAPISys.au3>
_WinAPI_EnableWindow ( $hWnd [, $bEnable = True] )

Parameters

$hWnd Handle to the window to be enabled or disabled
$bEnable [optional] Specifies whether to enable or disable the window:
True - The window or control is enabled
False - The window or control is disabled

Return Value

True: The window or control was previously disabled
False: The window or control was previously enabled

See Also

Search EnableWindow in MSDN Library.