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...")
(No difference)

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