DisableScreenSaver

Description:

baDisableScreenSaver allows you to enable/disable the screen saver.

Platforms:

Windows

Usage:

Result = baDisableScreenSaver( State )

Arguments:

Integer.
State can be either true or false.

Returns:

Integer.
Returns 1 if the screen saver was previously active, or 0 if is was inactive.

Examples:

Director:
OldSS = baDisableScreenSaver( false )

Authorware:
OldSS := baDisableScreenSaver( false )
 

Notes:

This function does not actually start the screen saver. It just determines whether or not the screen saver will appear after it's time out period has passed. If your user has previously elected not to have a screen saver active, then this function will have no effect.
 

See also:

baScreenSaverTime
baSetScreenSaver