CRichEdit.CallAutocorrectProcmethod
Calls the application-defined autocorrect callback procedure.
Syntax
FUNCTION CallAutocorrectProc (BYVAL hRichEdit AS HWND, BYVAL char AS WCHAR) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
char | A character of type WCHAR. If this character is a tab (U+0009), and the character preceding the insertion point isn't a tab, then the character preceding the insertion point is treated as part of the autocorrect candidate string instead of as a string delimiter; otherwise, char has no effect. |
Return value
The return value is zero if the message succeeds, or nonzero if an error occurs.
Description
Calls the autocorrect callback function that is stored by the SetAutocorrectProc message, provided that the text preceding the insertion point is a candidate for autocorrection.
Reference
- Defined in AfxNova/CRichEdit.inc:62
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class