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

TScreen.WorkAreaRect

The usable display area on the primary monitor excluding the task bar.

Declaration

Source position: forms.pp line 1309

public property TScreen.WorkAreaRect : TRect
  read GetWorkAreaRect;

Description

WorkAreaRect is a read-only TRect property with the bounds for the usable display area on the primary monitor. It excludes the area covered by the system task bar. The return value is the result from the platform-specific SystemParametersInfo routine in the LCL interface using the SPI_GETWORKAREA parameter constant.

Use DesktopRect to get the bounds for the entire desktop spanning all monitors.

Use the Monitors property to access screen information for a specific monitor.

See also

TScreen.DesktopRect

  

Bounds rectangle for the desktop spanning all monitors.

TScreen.Monitors

  

Provides indexed access to the available monitors in the class instance.


Version 3.2 Generated 2024-02-25 Home