CRichEdit.SetAutocorrectProcmethod
Sets a pointer to the application-defined **AutoCorrectProc** callback procedure.
Syntax
FUNCTION 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/CRichEdit.inc:938
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class