Help Center

CRichEdit.SetAutocorrectProcmethod

Sets a pointer to the application-defined **AutoCorrectProc** callback procedure.

Windowsmethoddocumented

Syntax

FUNCTION SetAutoCorrectProc (BYVAL hRichEdit AS HWND, BYVAL pfn AS LONG_PTR) AS DWORD

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
pfnPointer 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