Description
In version 4, you initially only see a slight change. The menu items for setting the alignment contain function key designations and there is a new menu item, Edit. Selecting the Edit menu item displays a new dialog window with an entryfield and push buttons that provide the ability to change the static text contents.
The function key capability is provided by adding accelerator key definitions in the resource file. The edit dialog demonstrates how to use an IFrameWindow as a dialog window and how to use the ICanvas classes and IControls to create the dialog. A new command handler is used to process the push buttons. The sample also shows how to display a dialog modally.
Concept
Sample program with frame window, menu bar from resource, information area, accelerator resources, and dialog window.
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. Also you can change the client area text through the text dialog frame window.
Supported
Supported
Supported