-
Book Overview & Buying
-
Table Of Contents
Microsoft Visual C++ Windows Applications by Example
By :
Line and Page are two small classes of this application. Line holds the indexes of the first and last characters of a line in a paragraph together with the height of the line. Page holds the indexes of the first and last paragraph of a page in the document.
Position is also a small class; it handles a position in a document. It has two fields for keeping track of the paragraph and character positions.
CWordDoc handles the paragraphs of a class. It accepts input from the view class and updates the list of paragraphs in response.
Paragraph handles one paragraph. It has methods for splitting and merging paragraphs.
CWordView accepts input from the mouse and keyboard. It also displays text in the window client area.
Change the font size
Change margin width
Change background colour