win32gui.ScreenToClient

(int,int) = ScreenToClient(hWnd, Point )

Convert screen coordinates to client coords

Parameters

hWnd : PyHANDLE

Handle to a window

Point : (int,int)

Screen coordinates to be converted