Window process
Window process {( window )} : Integer
Parameter | Type | Description | |
---|---|---|---|
window | Integer | → | Window reference number |
Function result | Integer | ← | Process 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.