Difference between revisions of "GetActiveWindow"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetActiveWindow: Hwnd; </source> ==Availability== SCAR Divi 3.36 > Current ==Description== Returns the handle to t...")
 
 
Line 21: Line 21:
 
*[[GetShellWindow]]
 
*[[GetShellWindow]]
 
*[[GetParentWindow]]
 
*[[GetParentWindow]]
 +
*[[GetOuterWindow]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Window Functions]]
 
[[Category:Window Functions]]

Latest revision as of 13:35, 7 August 2012

Definition

function GetActiveWindow: Hwnd;

Availability

SCAR Divi 3.36 > Current

Description

Returns the handle to the foreground window, which is the window which is currently active.

Example

begin
  WriteLn(GetWindowClass(GetActiveWindow));
end.

See Also