COleServerItem::NotifyChanged

voidNotifyChanged(DVASPECTnDrawAspect**=DVASPECT_CONTENT);**

Parameters

nDrawAspect

A value from the DVASPECT enumeration that indicates which aspect of the OLE item has changed. This parameter can have any of the following values:

  • DVASPECT_CONTENT   Item is represented in such a way that it can be displayed as an embedded object inside its container.

  • DVASPECT_THUMBNAIL   Item is rendered in a “thumbnail” representation so that it can be displayed in a browsing tool.

  • DVASPECT_ICON   Item is represented by an icon.

  • DVASPECT_DOCPRINT   Item is represented as if it were printed using the Print command from the File menu.

Remarks

Call this function after the linked item has been changed. If a container item is linked to the document with an automatic link, the item is updated to reflect the changes. In container applications written using the Microsoft Foundation Class Library, COleClientItem::OnChange is called in response.

COleServerItem OverviewClass MembersHierarchy Chart

See Also   COleClientItem::OnChange, COleServerItem::OnUpdate, COleServerDoc::NotifyChanged