win32gui.GetClientRect

(left, top, right, bottom) = GetClientRect(hwnd)

Returns the rectangle of the client area of a window, in client coordinates

Parameters

hwnd : int

The handle to the window