The StandardDocument class
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 ...
Get C++ Windows Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.