Sets the mode of the Source view or the Editor window.
Scope: File
Syntax
query window
set window { hidden | min | max | visible | activated }
Options
hidden |
The view (window) is hidden. It is restored to normal before hiding. |
min |
The view is minimized. If it is hidden, it is displayed before minimizing. |
max |
The view is maximized. If it is hidden, it is displayed before maximizing. |
visible |
The view is restored and displayed. The focus is not necessarily set on the view. |
activated |
The view is displayed and the focus is set to it. |
Description
The view (window) parameter controls whether the current file is visible, hidden, minimized, maximized, or activated.
Example
To hide the current view (window), type:
set window hidden
API Return Codes
-2 |
The option is not valid. |
![]()
