EN_CORRECTTEXT notification code

Notifies a rich edit control parent window that a SYV_CORRECT gesture occurred, giving the parent window a chance to cancel correcting the text. A rich edit control sends this notification code in the form of a WM_NOTIFY message.

EN_CORRECTTEXT

    penCorrectText = (ENCORRECTTEXT *) lParam; 

Parameters

lParam

An ENCORRECTTEXT structure specifying the selection to be corrected.

Return value

Return zero to ignore the action.

Returns a nonzero value to process the action.

Remarks

This notification code is sent only if pen capabilities are available.

To receive EN_CORRECTTEXT notification codes, specify ENM_CORRECTTEXT in the mask sent with the EM_SETEVENTMASK message.

Note

The EN_CORRECTTEXT notification code is only supported in rich edit version 1.0. It is not supported in later versions of rich edit. For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

Reference

ENCORRECTTEXT