Is window maximized
Is window maximized ( window ) : Boolean
Parameter | Type | Description | |
---|---|---|---|
window | Integer | → | Window reference number |
Function result | Boolean | ← | True if the window is maximized, False otherwise |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The Is window maximized command returns True if the window whose reference number is passed in window is currently maximized, and False otherwise.
Example
You want to switch between the maximized and previous states:
If(Is window maximized($winRef))
MINIMIZE WINDOW($winRef)
Else
MAXIMIZE WINDOW($winRef)
End if