win32gui.FlashWindow

int = FlashWindow(hwnd, bInvert )

The FlashWindow function flashes the specified window one time. It does not change the active state of the window.

Parameters

hwnd : PyHANDLE

Handle to a window

bInvert : int

Indicates if window should toggle between active and inactive