win32api.MonitorFromWindow
PyHANDLE = MonitorFromWindow(hwnd, Flags
)
Finds monitor that contains a window
Parameters
hwnd : PyHANDLE
Handle to a windowFlags=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