APP_STATE
Initial application window state
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
|
|
The APP_STATE environment variable sets the initial state of your application window.
Value
The initial state of the application’s container window:
Window is normal.
Window is maximized.
Window is minimized.
Window is hidden.
Discussion
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.
Setting location
The environment or the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).
Used by
Runtime
Examples
In the synergy.ini file,
[synergy] APP_STATE=MAXIMIZED