COleDocument::UpdateModifiedFlag

Call this function to mark the document as modified if any of the contained OLE items have been modified.

virtual void UpdateModifiedFlag( );

Remarks

This allows the framework to prompt the user to save the document before closing, even if the native data in the document has not been modified.

Requirements

Header: afxole.h

See Also

Concepts

COleDocument Class

COleDocument Members

Hierarchy Chart

CDocument::SetModifiedFlag

COleClientItem::IsModified