Documents: 1 Document Control Overview

Up: GEOS SDK TechDocs | Up | Down | Prev: Documents | Next: 2 Document Control Data Fields

A program that creates or uses files--in short, almost all applications--has to deal with many tasks. It has to present dialog boxes to the user so he can choose which file to open; it must give alert messages when the user tries to do something dangerous, like quit without saving; and it must notice when GEOS is being shut down and make sure it saves appropriate data.

The document control objects make these tasks much easier. They take care of some of these tasks by themselves; for example, they maintain the File menu commands and display dialog and alert boxes as needed. The Document Control objects make other application jobs much easier by sending messages at appropriate times. They can also manage several documents at once, making it much easier for applications to manage multiple documents.

Many different document control sample applications are provided with the SDK. In most cases, you should be able to get your document control by copying over code from the appropriate sample application, then customizing it.


Up: GEOS SDK TechDocs | Up | Down | Prev: Documents | Next: 2 Document Control Data Fields