Export (0) Print
Expand All

COleLinkingDoc::OnFindEmbeddedItem 

Called by the framework to determine whether the document contains an embedded OLE item with the specified name.


virtual COleClientItem* OnFindEmbeddedItem(
   LPCTSTR lpszItemName 
);

Parameters

lpszItemName

Pointer to the name of the embedded OLE item requested.

A pointer to the specified item; NULL if the item is not found.

The default implementation searches the list of embedded items for an item with the specified name (the name comparison is case sensitive). Override this function if you have your own method of storing or naming embedded OLE items.

Community Additions

ADD
Show:
© 2015 Microsoft