Enables or disables mouse and keyboard input to the specified window or control
#include <WinAPISys.au3>
_WinAPI_EnableWindow ( $hWnd [, $bEnable = True] )
$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 |
True: | The window or control was previously disabled |
False: | The window or control was previously enabled |
Search EnableWindow in MSDN Library.