共用方式為


CRichEditView::IsRichEditFormat

Call this function to determine if cf is a Clipboard format which is text, rich text, or rich text with OLE items.

static BOOL AFX_CDECL IsRichEditFormat(
   CLIPFORMAT cf 
);

Parameters

  • cf
    The Clipboard format of interest.

Return Value

Nonzero if cf is a rich edit or text Clipboard format.

Requirements

Header: afxrich.h

See Also

Reference

CRichEditView Class

Hierarchy Chart

CRichEditCtrl::CanPaste

CRichEditCtrl::Paste

CRichEditView::DoPaste

Other Resources

CRichEditView Members