Freigeben über


COleServerDoc::OnGetEmbeddedItem

Called by the framework when a container application calls the server application to create or edit an embedded item.

virtual COleServerItem* OnGetEmbeddedItem( ) = 0;

Return Value

A pointer to an item representing the entire document; NULL if the operation failed.

Remarks

There is no default implementation. You must override this function to return an item that represents the entire document. This return value should be an object of a COleServerItem-derived class.

Requirements

Header: afxole.h

See Also

Concepts

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleLinkingDoc::OnGetLinkedItem

COleServerItem Class