win32gui.InvalidateRgn

InvalidateRgn(hWnd, hRgn, Erase)

Adds a region to a window's update region

Parameters

hWnd : PyHANDLE

Handle to the window

hRgn : PyGdiHANDLE

Region to be redrawn

Erase : boolean

Indidates if background should be erased