BEEPER1: Sets a Timer Using WM_TIMER and Beeps

BEEPER1 sets a timer for 1-second intervals. When it receives a WM_TIMER message, it beeps (by calling the MessageBeep function) and alternates coloring the client area blue and red.

BEEPER1 is a companion application for “Programming Windows” by Charles Petzold. The source code for this application has not been modified or tested by Microsoft Corporation.

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the beeper1 project." /C"samples}