CRichEditCtx.CanPastemethod
Determines whether a rich edit control can paste a specified clipboard format.
Syntax
FUNCTION CanPaste (BYVAL clipformat AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
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/CRichEditCtx.inc:1930
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class