CRichEdit.InsertImagemethod
Replaces the selection with a blob that displays an image.
Syntax
FUNCTION InsertImage (BYVAL hRichEdit AS HWND, BYVAL lpip AS RICHEDIT_IMAGE_PARAMETERS PTR) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
lpip | A pointer to a RICHEDIT_IMAGE_PARAMETERS structure that contains the image blob. |
Return value
Returns S_OK if successful, or one of the following error codes.
Description
Replaces the selection with a blob that displays an image.
Reference
- Defined in AfxNova/CRichEdit.inc:798
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class