SetWindowBox

From SCAR Divi Manual
Jump to: navigation, search

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