Macro Language Reference > Macros > Window > wct
  
wct
Description
Toggles the display of window items.
 
Although turning various window items off increases the work area in your window, wct will not re-scale your page. If you want to re-scale the page to take advantage of the increased working area on your screen, use the wfi macro.
 
Example 321. Toggling window items on and off with cumulative items
The macro below toggles the display of window items1, 4 and 8 (total value of 13) on or off, depending on the current setting. In this example wct is followed by a wfi macro, which re-scales the page to take advantage of the increased working area on your screen:
wct 13^:wfi
Syntax
wct items:n? '^'
wct
[no parameter]
Invoke the Show/Hide window parts dialog box.
items
1
Turn all flags off.
2
Hide the edit bar.
4
Hide the left tag area.
8
Hide the top icon area.
^
The ^ character after an items number toggles its display on or off depending on the current setting.
Additional Information
This macro is identical to the win macro.
Related Links