WORDPAD: The Windows 95 Application
Click to open or copy the WORDPAD project files.
WORDPAD is the word processing application included with Windows® 95. It is an example of a full-fledged word processing application written using the Microsoft Foundation Class Library (MFC).
The SUPERPAD sample illustrates a basic word processor based on the CEditView class. In contrast, WORDPAD is based on the CRichEditView, CRichEditDoc, and CRichEditCntrItem classes, and — besides supporting the features that SUPERPAD supports — also demonstrates the following features.
The ability to read, write, and convert between multiple file formats, including the Word for Windows 6.0 file format, .rtf (Rich Text Format), and ASCII text.
Text formatting, including the use of fonts, character formatting (bold, italics, underlining), color, and point sizes. These attributes are available in a formatting toolbar.
Per-paragraph formatting, including alignment (left, center, or right), tabs, margins, and first-line indentation. These attributes are also available in a ruler toolbar.
Undo support.
ActiveX™ component support, both container and server.
WORDPAD comes with a help file describing its user interface.
Edit Control Styles
To create an edit control using the CreateWindow or CreateWindowEx function, specify the EDIT class, appropriate window style constants, and a combination of the following edit control styles. After the control has been created, these styles cannot be modified, except as noted.