The Template example, like WinHello, is a simple but functional Windows application. But unlike WinHello, Template has been designed specifically for use as a template for your own application development. The Template.I include file has also been used as the foundation for a number of the demo applications discussed in this book.
TIP
If you are using MFC and the AppWizard provided with the Developers Studio, you will not need nor want the Template.I include file, which is the core of the Template demo. The Template demo is included simply for those who, for various reasons, prefer to perform development without using the foundation class libraries.
Unlike familiar DOS programs, which generally have little, if any, source code in common—the main procedure aside—most Windows applications have a number of elements in common:
NOTE
The Template demo, including the Template.C, Template.DEF, Template.H, Template.BAT, and Template.RC files, is on the CD accompanying this book, in the Chapter 2 folder.