UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
ActiveWindow Property
The name of the window that has focus.
Syntax
string ActiveWindow {get;}