EM_CANPASTE
4/8/2010
The EM_CANPASTE message determines whether a rich edit control can paste a specified clipboard format.
To send this message, call the SendMessage function with the following parameters.
Syntax
SendMessage(
(HWND) hWnd,
EM_CANPASTE,
(WPARAM) wParam,
(LPARAM) lParam
);
Parameters
- hWnd
The handle to the destination window.
- EM_CANPASTE
The message to send.
- wParam
Specifies the clipboard format to try. Set this parameter to zero to try any format currently on the clipboard.
- lParam
Reserved; set to zero.
Return Value
Nonzero if the clipboard format can be pasted.
Zero if the clipboard format cannot be pasted.
Remarks
#define EM_CANPASTE (WM_USER + 50)
This message is detailed in Richedit.h, not RichInk.h.
Requirements
Header | richink.h |
Library | richink.lib |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Pocket PC 2000 and later |