共用方式為


COleServerDoc::NotifyChanged

Call this function to notify all linked items connected to the document that the document has changed.

void NotifyChanged( );

Remarks

Typically, you call this function after the user changes some global attribute such as the dimensions of the server document. If an OLE item is linked to the document with an automatic link, the item is updated to reflect the changes. In container applications written with the Microsoft Foundation Class Library, the OnChange member function of COleClientItem is called.

注意

This function is included for compatibility with OLE 1. New applications should use UpdateAllItems.

Requirements

Header: afxole.h

See Also

Concepts

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::NotifyClosed

COleServerDoc::NotifySaved

COleClientItem::OnChange