This document contains code for two timer demo programs in C++. The first program (Beeper1) uses a timer to toggle the background color of the window between red and blue every second and play a beep sound. It also handles painting the window. The second program (Beeper2) is similar but moves the timer callback function into its own procedure separate from the window procedure.