win32gui.WindowFromPoint

int = WindowFromPoint(point)

Retrieves a handle to the window that contains the specified point.

Parameters

point : (int, int)

The point.