Line
andPage
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 theview
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.
Microsoft Visual C++ Windows Applications by Example
By :
Microsoft Visual C++ Windows Applications by Example
By:
Overview of this book
Table of Contents (15 chapters)
Microsoft Visual C++ Windows Applications by Example
Credits
About the Author
About the Reviewer
Preface
Free Chapter
Introduction to C++
Object-Oriented Programming in C++
Windows Development
Ring: A Demonstration Example
Utility Classes
The Tetris Application
The Draw Application
The Calc Application
The Word Application
Index
Customer Reviews