Help Center

RichEdit_InsertImagefunction

Replaces the selection with a blob that displays an image.

Windowsfunctiondocumented

Syntax

FUNCTION RichEdit_InsertImage (BYVAL hRichEdit AS HWND, BYVAL lpip AS RICHEDIT_IMAGE_PARAMETERS PTR) AS DWORD

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
lpipA 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/AfxRichEdit.inc:613
  • Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
  • Topic: RichEdit Procedures