共用方式為


CRichEditView::CanPaste

Call this function to determine if the Clipboard contains information that can be pasted into this rich edit view.

BOOL CanPaste( ) const;

Return Value

Nonzero if the Clipboard contains data in a format which this rich edit view can accept; otherwise, 0.

Requirements

Header: afxrich.h

See Also

Concepts

CRichEditView Class

CRichEditView Members

Hierarchy Chart

CRichEditCtrl::Paste

CRichEditView::DoPaste

CRichEditView::IsRichEditFormat