Called by the framework in response to a document event.
Document events may affect multiple classes. This method is responsible for handling document events that affect classes other than the CDocument Class. Currently, the only class that must respond to document events is the CDataRecoveryHandler Class. The CDocument class has other overrideable methods responsible for handling the effect on the CDocument.
The following table lists the possible values for deEvent and the events that they correspond to.
A new document was created.
A new document was opened.
The document was saved.
The document was closed.