The ScreenSaverProc for Bouncer performs the following tasks in response to messages:
Message | Response |
WM_CREATE | Loads user settings from the CONTROL.INI file; loads the bouncing bitmap resource and the waveform-audio resource that contains the bounce sound; starts a timer used to trigger the bitmap movements. |
WM_TIMER | Moves the bitmap. |
WM_DESTROY | Deletes the bitmap from memory; kills the timer; unlocks and frees the waveform-audio resource. |
After performing these actions, Bouncer passes these messages, as well as all unprocessed messages, to DefScreenSaverProc.