CRichEditView::OnPasteNativeObject

virtual BOOL OnPasteNativeObject( LPSTORAGE lpStg );

Return Value

Nonzero if successful; otherwise, 0;

Parameters

lpStg

Pointer to an IStorage object.

Remarks

Use this function to load native data from an embedded item. Typically, you would do this by creating a COleStreamFile around the IStorage. The COleStreamFile can be attached to an archive and CObject::Serialize called to load the data.

This is an advanced overridable.

For more information, see IStorage in the OLE documentation.

CRichEditView OverviewClass MembersHierarchy Chart

See Also   COleStreamFile¸ CObject::Serialize, CArchive