EM_CANPASTE message

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

Parameters

wParam

Specifies the Clipboard Formats to try. To try any format currently on the clipboard, set this parameter to zero.

lParam

This parameter is not used; it must be 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.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

SendMessage