GetActiveWindow
From SCAR Divi Manual
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.