The MDK disc contains a sample screen saver called Bouncer. Bouncer bounces a small bitmap across the screen, accompanying each bounce with a sound from a waveform audio file. The NMAKE file for Bouncer allows you to build Bouncer into one of two forms:
A screen saver applet, with .SCR extension
A standard Windows .EXE file that includes CodeView debugging information. You can run this version from CodeView or from Program Manager.
You can use the Bouncer sample application as a template for your screen saver. Just remove the code that bounces the bitmap and substitute your own screen-saver effects. The declarations and code specific to bouncing the bitmap are clearly labeled in the source files. “Using Bouncer as a Screen Saver Template,” later in this appendix, lists the specific changes you must make when converting Bouncer.