释义 |
COleServerDoc::OnUpdateDocument
virtual BOOL OnUpdateDocument();
返回值: 如果文档被成功地更新则返回非零值;否则返回0。
说明: 当保存一个作为复合文档中的嵌入项的文档时,框架调用该函数。该函数的缺省实现调用COleServerDoc::NotifySaved和COleServerDoc::SaveEmbedding成员函数,然后将文档标记为干净的(未修改的)。如果应用程序想要在更新一个嵌入项时执行特定的处理,则必须重载这个函数。
请参阅: COleServerDoc::NotifySaved, COleServerDoc::SaveEmbedding, CDocument::OnSaveDocument |