Condividi tramite


COleServerItem::NotifyChanged

Call this function after the linked item has been changed.

void NotifyChanged( 
   DVASPECT nDrawAspect = 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

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.

Requirements

Header: afxole.h

See Also

Reference

COleServerItem Class

Hierarchy Chart

COleClientItem::OnChange

COleServerItem::OnUpdate

COleServerDoc::NotifyChanged