STYLE (located in \TOOLKIT\SAMPLES\PM\CONTROLS) demonstrates a PM application that conforms with the Common User Access requirements and implements the following controls:

This sample program also demonstrates secondary windows, such as dialogs and message boxes. The program lets you edit and save text files. The source for online help, in IPF format, is also provided.

STYLE also demonstrates the detection of a font that does not conform to the International Standards Organization (ISO 9241). When you are running the sample on an ISO-compliant monitor and select a non-compliant font in the standard font dialog, a message box is displayed.

The code in STYLE is structured so that the addition of a new function is handled in an efficient manner. For example, to add a new command to an existing menu, you need only add the command to the resource file, and then add the appropriate message-processing routines to the STY_USER.C file.


[Back] [Next]