Help Center

RichEdit_CanPastefunction

Determines whether a rich edit control can paste a specified clipboard format.

Windowsfunctiondocumented

Syntax

FUNCTION RichEdit_CanPaste (BYVAL hRichEdit AS HWND, BYVAL clipformat AS LONG) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
clipformatSpecifies the Clipboard Formats to try. To try any format currently on the clipboard, set this parameter to zero.

Return value

If the clipboard format can be pasted, the return value is a nonzero value.

If the clipboard format cannot be pasted, the return value is zero.

Description

Determines whether a rich edit control can paste a specified clipboard format.

Reference

  • Defined in AfxNova/AfxRichEdit.inc:55
  • Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
  • Topic: RichEdit Procedures