A default menu, with an automatic info window and quit entry may be provided. This class provides comprehensive support for file reading and writing operations. The chunk file format is supported, allowing each chunk to be used almost as a separate file. Chunks may be added and deleted at any time and automatic relocation ensures that there is no restriction on the growth of any chunk. This provides a standard 'Save as' window which may either be attached to a menu or used standalone.
Polymorphism provides an easy mechanism for the return of save requests.
An object may inherit the OLEObject class in order to support full OLE very easily. An OLEClient object is created which controls the session before arranging for its own deletion. A Document Window Manager checks all existing Document Windows on pre-quit, and acts accordingly. Every RiscOopLib application has one instance of Manager . Objects register events which they are interested in with Manager , which then intelligently distributes incoming events.