ENCORRECTTEXT structure (richedit.h)

Contains information about the selected text to be corrected.

Syntax

typedef struct _encorrecttext {
  NMHDR     nmhdr;
  CHARRANGE chrg;
  WORD      seltyp;
} ENCORRECTTEXT;

Members

nmhdr

Type: NMHDR

An NMHDR structure. The code member of this structure identifies the notification code being sent.

chrg

Type: CHARRANGE

A CHARRANGE structure that specifies the range of selected characters.

seltyp

Type: WORD

Value specifying the contents of the new selection. This member is SEL_EMPTY if the selection is empty or one or more of the following values.

Value Meaning
SEL_TEXT
The new selection contains text.
SEL_OBJECT
The new selection contains at least one COM object.
SEL_MULTICHAR
The new selection contains more than one character of text.
SEL_MULTIOBJECT
The new selection contains more than one COM object.

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

EN_CORRECTTEXT