The EM_CANPASTE message determines whether a rich edit control can paste a specified clipboard format.
EM_CANPASTE
wParam = (WPARAM) (UINT) uFormat;
lParam = 0;
Returns a nonzero value if the clipboard format can be pasted or zero otherwise.
Windows NT: Requires version 3.51 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Messages