Difference between revisions of "SetWindowBox"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure SetWindowBox(const Wnd: Hwnd; const Box: TBox); </source> ==Availability== SCAR Divi 3.35 > Current ==Description...")
 
 
Line 20: Line 20:
 
*[[GetWindowBox]]
 
*[[GetWindowBox]]
 
*[[GetWindowBoxEx]]
 
*[[GetWindowBoxEx]]
 +
*[[SetWindowSize]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Window Functions]]
 
[[Category:Window Functions]]

Latest revision as of 15:52, 10 November 2012

Definition

procedure SetWindowBox(const Wnd: Hwnd; const Box: TBox);

Availability

SCAR Divi 3.35 > Current

Description

Moves and resizes a window to match a given TBox Box, containing the new upper-left and bottom-right corner coordinates on the screen for the window specified in Wnd.

Example

begin
  SetWindowBox(GetActiveWindow, Box(100, 100, 500, 500));
end.

See Also