Skip to main content
Version: 20 R7 BETA

Frontmost window

Frontmost window {( * )} : WinRef

ParameterTypeDescription
*OperatorIf specified, take floating windows into account If omitted, ignore floating windows
Function resultWinRefWindow reference number

This command is not thread-safe, it cannot be used in preemptive code.

Description

The Frontmost window command returns the window reference number of the frontmost window.

See also

Frontmost process
Next window