[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.MonitorFromPoint

Finds an monitor from screen coordinates.

Declaration

Source position: winapih.inc line 199

public function TWidgetSet.MonitorFromPoint(

  ptScreenCoords: TPoint;

  dwFlags: DWord

):HMONITOR; virtual;

Arguments

ptScreenCoords

  

The point in screen coordinates.

dwFlags

  

How coordinates outside any monitor are handled, see MonitorFromPoint.Result.

Function result

The monitor handle.

When no monitor applies, dwFlags determines the result:

The latest version of this document can be found at lazarus-ccr.sourceforge.net.