win32gui.EnableWindow

int = EnableWindow(hWnd, bEnable )

Enables and disables keyboard and mouse input to a window

Parameters

hWnd : PyHANDLE

Handle to window

bEnable : boolean

True to enable input to the window, False to disable input

Return Value

Returns True if window was already disabled when call was made, False otherwise