Skip to main content
Version: 20 R7 BETA

Window process

Window process {( window )} -> Function result

ParameterTypeDescription
windowIntegerWindow reference number
Function resultLongintProcess reference number

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

Description

The Window process command returns the process number that runs the window whose reference number is passed in window. If the window does not exist, 0 (zero) is returned.

If you omit the window parameter, Window process returns the process of the current frontmost window.

See also

Current process