Method GetForegroundWindow GetForegroundWindow() Declaration IWindowHandle GetForegroundWindow() Returns Type Description IWindowHandle