Sign in Join
FPDoc Onlineexperiment

TWidgetSet.MonitorFromWindow function

Member of TWidgetSetpublicIn unit InterfaceBase

Finds the monitor covering most of a window.

Declaration

pascal
function MonitorFromWindow(hWnd: HWND; dwFlags: DWord): HMONITOR
 ; virtual

Arguments

hWnd

The window handle.

dwFlags

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

Function result

The monitor handle, see MonitorFromPoint.Result.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.