RichEdit_SetAutocorrectProcfunction
Sets a pointer to the application-defined **AutoCorrectProc** callback procedure.
Syntax
FUNCTION RichEdit_SetAutoCorrectProc (BYVAL hRichEdit AS HWND, BYVAL pfn AS LONG_PTR) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
pfn | Pointer to an AutoCorrectProc function. |
Return value
If the operation succeeds, the return value is zero. If the operation fails, the return value is a nonzero value.
Description
Sets a pointer to the application-defined AutoCorrectProc callback function.
Reference
- Defined in AfxNova/AfxRichEdit.inc:753
- Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
- Topic: RichEdit Procedures