Hello World Sample 5

Description

Version 5 greatly increases the functionality of the sample by adding a listbox and graphics window to the client area of the main frame window. The listbox is used to display a "Hello World" in different languages. A select handler is used to update the static text with whatever "Hello World" string is selected from the listbox. The graphics window uses the Open Class graphics to display a view of the earth from space. The client area is layed-out using ISplitCanvas objects to allow the user to specify proportions for the sections.

Hello5 also introduces the use of the IHelpWindow class for providing context-specific application help. The use of IPF formatted information source files, RTF formatted information source files, and resource file help tables is also demonstrated.

Concept

Sample program with frame window, menu bar from resource, information area, accelerator resources, dialog window, listbox, graphics, split-canvas, and help.

Task

Select from the menu bar tasks to justify the client area text on the left, center, or right. The information area displays menu item messages. You can change the client area text through the text dialog frame window. You can also change the client area text through the listbox selections. The world is drawn using graphics.

Special Notes:

The sample attempts to load its help from its current working directory.

Supported
Supported
Supported