APP_STATE

Initial application window state

WSupported on Windows

 

 

NSupported in Synergy .NET

The APP_STATE environment variable sets the initial state of your application window.

The initial state of the application’s container window:

NORMAL

Window is normal.

MAXIMIZED

Window is maximized.

MINIMIZED

Window is minimized.

HIDDEN

Window is hidden.

If no initial state is specified, or if the state specified is not one of the above states, the normal state is assumed.

APP_STATE has precedence over the XSHOW environment variable. Unlike XSHOW=1, the Toolkit U_START subroutine does not override the initial state specified by APP_STATE.

Setting APP_STATE to HIDDEN has the same effect as setting the environment variable XSHOW to HIDE.

The behavior of APP_STATE is dependent on setting location. If set in the environment, APP_STATE affects the current program and any programs spawned by the current program. If set in synergy.ini, APP_STATE affects only the current program.

The environment or the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

Runtime

In the synergy.ini file,

[synergy]
APP_STATE=MAXIMIZED