Arbortext Command Language > Functions by Alphabetical Listing > window_enable
  
window_enable
window_enable (window[, enable])
This function can be used to enable or disable a window. It can also be used to query the current enabled status of a window.
win — A valid window identifier.
enable — One of the following values:
1 — Enable the given window.
0 — Disable the given window.
-1 — Retrieve the current status without changing the window’s current enabled status.
A disabled window cannot receive input from the user. The return value is the previous enabled state of the window:
0 — The window was disabled.
non-zero — The window was enabled.