win32gui.ValidateRect

ValidateRect(hWnd, Rect)

Validates the client area within a rectangle by removing the rectangle from the update region of the specified window.

Parameters

hWnd : PyHANDLE

Handle to the window

Rect : PyRECT

Client coordinates of the rectangle to be removed from the update region. If this parameter is Nonr, the entire client area is removed.