BEEPER2: Sets a Timer Using a Callback Function
BEEPER2 sets a timer, but sends the timer messages to the TimerProc callback function rather than to the normal window procedure. BEEPER2 is functionally the same as BEEPER1--it beeps and alternates coloring the client area blue and red.
BEEPER2 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 beeper2 project." /C"samples}