Chapter 11. The Document

In the previous chapter we looked into the implementation of the Application and Window classes, which are useful for general Windows applications. In this chapter, we will look into the implementation of the Document, StandardDocument, Menu, and Accelerator classes, which are useful for document-based Windows applications.

The Document class

In this book, a document is a window intended for common document-based applications, such as the drawing program, spreadsheet program, and word processor of this book. The Document class implements the document described previously and is a direct subclass of the Window class. It supports caret and dirty flag, keyboard status, menus, accelerators, the mouse wheel, scroll bars, and ...

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.