Help Center

RichEdit_LoadRtfFromFilefunction

Loads a Rich Text File into a Rich Edit control.

Windowsfunctiondocumented

Syntax

FUNCTION RichEdit_LoadRtfFromFile (BYVAL hRichEdit AS HWND, BYREF wszFileName AS WSTRING) AS BOOLEAN

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
wszFileNameThe name of the RTF file to load.

Return value

If the operation succeeds, the return value is TRUE.

If the operation fails, the return value is FALSE.

Description

Loads the contents of a RTF file into a Rich Edit control.

Reference

  • Defined in AfxNova/AfxRichEdit.inc:1238
  • Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
  • Topic: RichEdit Procedures