CRichEdit.CanPastemethod
Determines whether a rich edit control can paste a specified clipboard format.
Syntax
FUNCTION CanPaste (BYVAL hRichEdit AS HWND, BYVAL clipformat AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
clipformat | Specifies 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/CRichEdit.inc:240
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class