RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor.WorkareaRect Property

Gives the application useable area of the monitor.

Pascal
property WorkareaRect: TRect;
C++
__property TRect WorkareaRect;

WorkareaRect returns a TRect value furnished with the coordinates and dimensions of the work area of the Monitor. On Windows, for example, the application tabs at the screen mean that the Workarea is smaller than the monitor size.

Note: The TRect Right and Bottom values are one pixel beyond Workarea boundary. They are given these values to allow for easy calculation of Workarea width and height as (Right-Left) and (Bottom-Top) respectively.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!