Difference between revisions of "GetClientDimensions"

From SCAR Divi Manual
Jump to: navigation, search
 
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.00 > 3.35
+
SCAR Divi 3.00 > 3.34
  
 
==Description==
 
==Description==

Latest revision as of 12:10, 25 July 2012

Definition

procedure GetClientDimensions(out Width, Height: Integer);

Availability

SCAR Divi 3.00 > 3.34

Description

Returns the dimensions of the client window that is currently selected in Width and Height.

Example

var
  w, h: Integer;

begin
  GetClientDimensions(w, h);
  WriteLn(IntToStr(w) + 'x' + IntToStr(h));
end.

See Also