SYSWINDOW Modes

BBj-Specific Information

Mode

Description

CAPTURE

In BBj 6.0 and higher, the capture mode forces new character windows in a BBj SysConsole or TermConsole to inherit the contents of underlying character windows just as character windows do in PRO/5 or the Visual PRO/5 SysWindow. The capture mode removes the need to use the 'CAPTURE' terminal device mnemonic to produce this behavior.

PRO/5-specific Information

Modes are available so that a SYSWINDOW device can be created with the attributes initially desired.

Mode

Description

COLS=

Columns (default 80).

FONT=

Sets font family to be used (default platform specific).

FONTSIZE=

Font size in points (default 10).

INVERT

Causes Invert light/dark check box in the Print menu to be initially checked.

INVISIBLE

Causes the SYSWINDOW to be invisible initially.

LOCKMODE=

Chooses the display mode (see the Font/Size Dialog Box section in the Installation and Configuration Guide). Choices are NORMAL, VARYFONTS, and SCROLLBARS.

MAXIMIZED

Window initially maximized.

MENU

Add menu for clipboard operations and screen print.

MINIMIZED

Window initially minimized.

ROWS=

Rows (default 25).

TITLE=

Sets window title (default Visual PRO/5).

XPOS=

Pixels from left (default 100) of the client area.

YPOS=

Pixels from top (default 100) of the client area.

Many of these are normally restored for the console window from the pro5.ini file, which is used in VPRO/5 1.x. The registry (HKCU/Software/BASIS or HKCU\Software\Classes\VirtualStore\MACHINE\SOFTWARE\ and subkeys) is used for VPRO/5 2.x and above. However, these can be overridden with a mode specifier. MENU can only be used on non-console windows, since the console window always has its own menu.

NOTE: Whenever a SYSWINDOW requires input, it is automatically made visible, raised, enabled, unminimized, and focused. Because of this, the "Run Minimized" property and the INVISIBLE and MINIMIZED modes may not appear to work as expected. These features work only when no input is required from the SYSWINDOW console. If you start a program from the command line that does not use input from the console window, then the "Run Minimized" property and the INVISIBLE and MINIMIZED modes will function as expected.

Under MS Windows, if a SYSWINDOW is maximized, then minimized, two successive restores will undo each operation in turn. Otherwise, one restore sets the window to its normal state and subsequent restores have no effect. This is not guaranteed behavior on all platforms.