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.
Return Value
A pointer to the specified item; NULL if the item is not found.
Remarks
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.
Requirements
Header: afxole.h