Chapter 2 Generic Windows Application

This chapter explains how to create a simple application for the Microsoft Windows 3.1 operating system. Generic demonstrates the concepts explained in Chapter 1, “Overview of the Windows Environment.”

This chapter covers the following topics:

Essential parts of a Windows application

Initializing a Windows application

Writing the message loop

Terminating an application

Basic steps needed to build a Windows application

The Generic application is used as basic code for all the code samples in Part 2 of this guide.