The Bouncer screen saver includes a configuration dialog box that allows a user to specify the following:
Bitmap starting position
Gravity and horizontal velocity
Add or remove sound
Add or remove a pause at the bottom of the screen
The Bouncer screen saver implements the configuration dialog using the ScreenSaverConfigureDialog function. The resource-script (.RC) file for Bouncer includes the ScreenSaverConfigure dialog-box template. The configuration dialog box is displayed when the user selects the Setup button from the Screen Saver applet.
The ScreenSaverConfigureDialog function saves its configuration information in CONTROL.INI. The following is a sample configuration section created by Bouncer:
[ScreenSaver.Bouncer]
Speed=100
xPosition=65426
yPosition=0
xVelocity=10
Gravity=3
Sound=1
Pause at bottom=1
The Bouncer screen saver doesn't register any special window classes for
the configuration dialog box, so the RegisterDialogClasses function just
returns TRUE.