Freigeben über


COleServerDoc::OnUpdateDocument

Called by the framework when saving a document that is an embedded item in a compound document.

virtual BOOL OnUpdateDocument( );

Return Value

Nonzero if the document was successfully updated; otherwise 0.

Remarks

The default implementation calls the COleServerDoc::NotifySaved and COleServerDoc::SaveEmbedding member functions and then marks the document as clean. Override this function if you want to perform special processing when updating an embedded item.

Requirements

Header: afxole.h

See Also

Concepts

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::NotifySaved

COleServerDoc::SaveEmbedding

CDocument::OnSaveDocument