win32api.MonitorFromRect

PyHANDLE = MonitorFromRect(rc, Flags )

Finds monitor that has largest intersection with a rectangle

Parameters

rc : PyRECT

Rectangle to be examined

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