Hello World Sample 2

Description

The second version of Hello World replaces the trivial implementation of Hello1 with a more common programming approach. The frame window used in the main portion of the application is a subclass of IFrameWindow that has a static text control and a new status area at the bottom of the frame which is created using the IInfoArea class. The specification for this new frame window class is stored separately in a C++ file with an extension of .hpp. Also, text strings are stored outside the application in a .rc resource file.

Visually, however, the Hello1 and Hello2 samples are identical except for the information area.

Concept

Sample program demonstrates a simple graphical application with an information area.

Task

Stretch and resize the application frame. The text remains centered in the client area. The information area displays messages to the user.

Supported
Supported
Supported