This keyword has meaning only on graphical systems such as Windows. Normally, the initial size of an application's window is determined by the host. You can change this initial size with the WINDOW keyword. Value is the desired number of rows and columns, separated by a comma. The maximum permissible size is 655 rows by 655 columns.
For example, if you wanted your initial window to contain 10 rows and 70 columns, you would enter:
SCREEN WINDOW=10,70
The WINDOW configuration option has several special values that it recognizes. If either the row or column is set to a negative number, then the initial window is minimized (turned into an icon). If either value is set to 999 or larger, then the initial window is maximized instead. If either value is 0 (zero), then the initial window size is determined by the host system (this is the default). Finally, maximizing takes precedence over minimizing, meaning that when SCREEN WINDOW=999,-1 or any variation thereof, the behavior is to maximize.
The application window size may never be bigger than the virtual screen size, nor may the window size be larger than what can be physically displayed on the user's screen(s). This physical limit will change depending on the resolution of the user's screen and the size of the font you are using. The ACUCOBOL-GT runtime system will automatically reduce the requested window size to meet these limits.
You may enter the SIZE and WINDOW options on the same line. For example, if you wanted your application to be able to use 30 lines by 80 columns, and you wanted to start with the window maximized (thus showing the entire virtual screen), you would enter:
SCREEN SIZE=30,80 WINDOW=999,999
The configuration variables SCRN_WINDOW_X and SCRN_WINDOW_Y are also supported for this option.