September 2016
Intermediate to advanced
588 pages
12h 22m
English
The WordDocument class is the main class of the application. It extends the StandardDocument class and takes advantage of its document-based functionality.
WordDocument.h
class WordDocument : public StandardDocument {
public:
WordDocument(WindowShow windowShow);
The InitDocument class is called by the constructor, the ClearDocument, and Delete classes.
void InitDocument();
The OnKeyboardMode method is called every time the user presses the Insert key. The UpdateCaret method sets the caret to a vertical bar in insert mode and a block in overwrite mode. When the user marks one or several characters, the caret is cleared.
void OnKeyboardMode(KeyboardMode keyboardMode);
void UpdateCaret();
When the user presses, moves, and releases ...
Read now
Unlock full access