다음을 통해 공유


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

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::NotifySaved

COleServerDoc::SaveEmbedding

CDocument::OnSaveDocument

Other Resources

COleServerDoc Members