Поделиться через


CRichEditView::OnPasteNativeObject

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

virtual BOOL OnPasteNativeObject(
   LPSTORAGE lpStg 
);

Параметры

Возвращаемое значение

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

Требования

Header: afxrich.h

См. также

Основные понятия

CRichEditView Class

CRichEditView Members

Hierarchy Chart

COleStreamFile Class

CObject::Serialize

CArchive Class