GetWorkArea function
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
function GetWorkArea: TRect;  

Description
The GetWorkArea function retrieves the size of the working area. The working area is the portion of the screen not obscured by the tray and application desktop toolbars.  

Original code
function GetWorkArea: TRect;  
begin  
  SystemParametersInfo(SPI_GETWORKAREA, 0, @Result, 0);  
end;