Chapter 14 A Generic Windows Application

This chapter explains how to create a simple Microsoft Windows application called Generic, which demonstrates the principles explained in Chapter 13, “An Overview of the Windows Environment.”

This chapter covers the following topics:

The essential parts of a Windows application

Initializing a Windows application

Writing the message loop

Terminating an application

The basic steps needed to build a Windows application

The Generic application will be used as basic code for all sample applications in this Part of the book. (The source files for Generic and the other sample applications are included on the distribution disks.)