CRichEditCtx.SetAutoCorrectProcmethod
Syntax
FUNCTION SetAutoCorrectProc (BYVAL pfn AS LONG_PTR) AS HRESULT
Also documented as
AutoCorrectProc — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
pfn | Pointer to the AutoCorrectProc application-defined callback function. |
Return value
(GET) A pointer to the application-defined AutoCorrectProc callback function.
(SET) If the operation succeeds, the return value is zero. If the operation fails, the return value is a nonzero value.
Description
Gets/sets a pointer to the application-defined AutoCorrectProc callback function.
Example
(GET) PROPERTY AutoCorrectProc () AS LONG_PTR (SET) PROPERTY AutoCorrectProc (BYVAL pfn AS LONG_PTR)
Reference
- Defined in AfxNova/CRichEditCtx.inc:770
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class