Difference between revisions of "GetWindowBoxEx"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function GetWindowBoxEx(const Wnd: Hwnd; const ClientArea: Boolean): TBox; </source> ==Availability== SCAR Divi 3.35 > Curre...") |
|||
Line 20: | Line 20: | ||
*[[GetWindowBox]] | *[[GetWindowBox]] | ||
*[[SetWindowBox]] | *[[SetWindowBox]] | ||
+ | *[[GetWindowSize]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Window Functions]] | [[Category:Window Functions]] |
Revision as of 15:52, 10 November 2012
Definition
function GetWindowBoxEx(const Wnd: Hwnd; const ClientArea: Boolean): TBox;
Availability
SCAR Divi 3.35 > Current
Description
Returns a TBox containing the upper-left and bottom-right corners of the window specified in Wnd on the screen. If the given window does not exist (X1:0, Y1:0, X2:0, Y2:0) is returned. If ClientArea is set to true, the box which is returned will contain the coordinates of the client area of the window on the screen, rather than the window itself.
Example
begin WriteLn(BoxToStr(GetWindowBoxEx(GetDesktopWindow, False))); end.