win32gui.InvertRect

InvertRect(hDC, rc)

Inverts the colors in a regtangular region

Parameters

hDC : PyHANDLE

Handle to a device context

rc : PyRECT

Coordinates of rectangle to invert