共用方式為


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

Reference

CRichEditView Class

Hierarchy Chart

CRichEditCtrl::Paste

CRichEditView::DoPaste

CRichEditView::IsRichEditFormat

Other Resources

CRichEditView Members