The following information will only apply when there is no size or position information in either the [trmw] section or the section for the program itself. The size and position of an application window are otherwise determined by the x, y, width, and depth values.
Prior to 4.620, or if use_workarea=0 is set the following scheme is used:
The default screen size used for DP4 programs is height=y_factor*rows and width=x_factor*cols. Prior to release 4.616 x_factor and y_factor cannot be set explicitly, and always take their default values. From 4.603 to 4.614 rows and cols could not be set explicitly and the userdata screen depth and width were used instead. They can be set in all other releases.
If the window size calculated from these initial defaults is very near the size of a maximised window that size is used instead, and the window is also positioned as a maximised window, to avoid the window contents appearing off the edge of the screen. Otherwise the initial position for the window will be chosen by the Windows operating system.
This scheme works well for applications that display information in a fairly fixed form that cannot take advantage of a large window.
From 4.620 and if use_workarea=1 the default size and position is chosen so that the client area (including the client edge if present) fills the size of a maximised window. The size of a maximised window will vary depending on the taskbar size and properties. It may also be reduced if other toolbars such as the Microsoft Office toolbar is present.
This option is suited to programs that always want to use the whole available area of the screen, regardless of how big it is.