Vcl.Forms.TScreen.DesktopRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DesktopRect: TRect read GetDesktopRect;

C++

__property System::Types::TRect DesktopRect = {read=GetDesktopRect};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TScreen

Description

Specifies the boundaries of the virtual desktop relative to the upper-left corner of the primary monitor.

Use DesktopRect to determine the coordinates of the entire virtual desktop, which includes all monitors in the system. DesktopRect is expressed in coordinates where (0,0) is the upper-left corner of the primary monitor. The primary monitor is the monitor with its Primary property set to true.

See Also