CRichEditView::OnPasteNativeObject
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CRichEditView::OnPasteNativeObject 

Use this function to load native data from an embedded item.


virtual BOOL OnPasteNativeObject(
   LPSTORAGE lpStg 
);

Parameters

lpStg

Pointer to an IStorage object.

Nonzero if successful; otherwise, 0;

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 Platform SDK.

Show:
© 2016 Microsoft