September 2016
Intermediate to advanced
588 pages
12h 22m
English
The StandardDocument class is a direct subclass of Document; it handles the File, Edit, and Help menus and implements file handling, cut, copy, and paste, drop files, and printing. There is no specific message function for this class; all messages are sent to DocumentProc in the Document section covered previously. The document name and the dirty flag are automatically updated by the framework. StandardDocument does also handle the Page Setup dialog, which is more closely described in Chapter 12, The Auxiliary Classes.
StandardDocument.h
namespace SmallWindows {
class StandardDocument : public Document {
public:
Most constructor parameters are sent to the Document constructor. What is specific for StandardDocument is ...
Read now
Unlock full access