Arbortext Command Language > Functions by Alphabetical Listing > window_mask
  
window_mask
window_mask ([window])
This function returns the flags bit mask used to create the window identified by window, that is, the second argument to window_create. This mask can be inspected to see if the window has a scrollbar, menu bar, command window, and or message footer. If window is omitted or 0, the window associated with the current document is used.
A listing of the bits in the bit mask appears in the description of the window_create function.
* 
Some of the flags on the bit mask are specific to the different panes within a window (for example, Document Map vs edit view). Other bits can change dynamically by moving the cursor within the edit view (for example, in/out of a table if the Auto-hide Table Toolbar option is enabled). The pane-specific portions of the bit mask are always dictated by the pane containing the cursor (that is, last active pane).
Related Topics
window_create function