Unit 'LCLIntf' Package
[Overview][Types][Procedures and functions][Variables][Index] [#lcl]

MonitorFromWindow

Finds the monitor which contains most of the specified window.

Declaration

Source position: winapih.inc line 201

function MonitorFromWindow(

  hWnd: HWND;

  dwFlags: DWord

):HMONITOR;

See also

#lcl.forms.TScreen.MonitorFromWindow

  

Finds the monitor containing the form with the given window handle.