I always found this "Charles Petzold" program to be useful for printing off calendars, and as a demonstration of dialog boxes, multi-threaded programming and PM printing techniques.
Unfortunately Mr. Petzold left the day names off of the Calendar.
The only additions I have made to this program concerns converting the C code to be MS C 6.0 compatable and adding the day names over the appropriate columns.