-
Book Overview & Buying
-
Table Of Contents
Microsoft Visual C++ Windows Applications by Example
By :
We generated the code with the Application Wizard.
The Reference class keeps track of references in the spreadsheet.
The Scanner class group characters together into tokens, the least significant parts of the formula. The Token class represents the tokens.
The Parser class parses the tokens given by the scanner and generates a syntax tree (an object of the SyntaxTree class).
The Cell class handles a single class in the spreadsheet. A cell can hold a test, a value, or a formula. The CellMatrix and TSetMatrix methods handle the cells and the target sets of the spreadsheet.
CCalcDoc manages the internal logic of the application. The application is always in the edit or mark state. In the edit state, a caret is visible. In the mark state, one or more cells are marked.
CCalcView handles the input and display of the application. In this case, the view class handles the marking of cells by itself.
Change the font size
Change margin width
Change background colour