win32gui.PtInRegion

boolean = PtInRegion(hrgn, X , Y )

Determines if a region contains a point

Parameters

hrgn : PyGdiHandle

Handle to a region

X : int

X coord

Y : int

Y coord