Base Class Members
Construction
| Constructs a CDocument object. | 
Operations
| Attaches a view to the document. | |
| Returns a pointer to the document template that describes the type of the document. | |
| Returns the position of the first in the list of views; used to begin iteration. | |
| Iterates through the list of views associated with the document. | |
| Returns the path of the document's data file. | |
| Returns the document's title. | |
| Indicates whether the document has been modified since it was last saved. | |
| Detaches a view from the document. | |
| Sets a flag indicating that you have modified the document since it was last saved. | |
| Sets the path of the data file used by the document. | |
| Sets the document's title. | |
| Notifies all views that document has been modified. | 
Overridables
| Advanced overridable; called before closing a frame window viewing this document. | |
| Called to perform cleanup of the document. | |
| Returns a pointer to the desired CFile object. | |
| Called after a view is added to or removed from the document. | |
| Called to close the document. | |
| Called to create a new document. | |
| Called to open an existing document. | |
| Called to save the document to disk. | |
| Called before the frame window is closed. | |
| Releases a file to make it available for use by other applications. | |
| Advanced overridable; called when an open or save operation cannot be completed because of an exception. | |
| Advanced overridable; called to ask the user whether the document should be saved. | 
Mail Functions
| Sends a mail message with the document attached. | |
| Enables the Send Mail command if mail support is present. |