Help Center

CRichEditCtx.AutoCorrectProcmethod

Gets/sets a pointer to the application-defined **AutoCorrectProc** callback function.

Windowsmethoddocumented

Syntax

PRIVATE PROPERTY CRichEditCtx.AutoCorrectProc () AS LONG_PTR

Parameters

NameDescription
pfnPointer 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:749
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class