CRichEdit.LoadRtfFromResourcemethod
Loads a Rich Text Resource File into a Rich Edit control.
Syntax
FUNCTION LoadRtfFromResourceW (BYVAL hRichEdit AS HWND, BYVAL hInstance AS HINSTANCE, BYREF wszResourceName AS WSTRING) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
hInstance | The instance handle. | |
wszResourceName | The name of the resource to load. |
Return value
If the operation succeeds, the return value is TRUE.
If the operation fails, the return value is FALSE.
Description
Loads a RTF resource file into a Rich Edit control.
Reference
- Defined in AfxNova/CRichEdit.inc:1477
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class