Compartilhar via


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

Reference

COleDocument Class

Hierarchy Chart

CDocument::SetModifiedFlag

COleClientItem::IsModified

Other Resources

COleDocument Members