CRichEdit.PasteSpecialmethod
Pastes a specific clipboard format in a rich edit control.
Syntax
PRIVATE SUB CRichEdit.PasteSpecial (BYVAL hRichEdit AS HWND, BYVAL clpfmt AS DWORD, BYVAL lprps AS REPASTESPECIAL PTR)
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
clpfmt | Specifies the Clipboard Formats. | |
lprps | Pointer to a REPASTESPECIAL structure or NULL. If an object is being pasted, the REPASTESPECIAL structure is filled in with the desired display aspect. If clpfmt is NULL or the dwAspect member is zero, the display aspect used will be the contents of the object descriptor. |
Description
Pastes a specific clipboard format in a rich edit control.
Example
SUB PasteSpecial (BYVAL hRichEdit AS HWND, BYVAL clpfmt AS DWORD, BYVAL lprps AS REPASTESPECIAL PTR) SendMessageW hRichEdit, EM_PASTESPECIAL, clpfmt, cast(LPARAM, lprps) END SUB
Reference
- Defined in AfxNova/CRichEdit.inc:865
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class