win32api.MonitorFromPoint

PyHANDLE = MonitorFromPoint(pt, Flags )

Finds monitor that contains a point

Parameters

pt : (int, int)

Tuple of 2 ints (x,y) specifying screen coordinates

Flags=0 : int

Flags that determine default behaviour, one of MONITOR_DEFAULTTONEAREST,MONITOR_DEFAULTTONULL,MONITOR_DEFAULTTOPRIMARY

Comments

Accepts keyword arguments

Return Value

Returns None if no monitor was found