Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ENCORRECTTEXT structure

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.

ValueMeaning
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Richedit.h

See also

EN_CORRECTTEXT

 

 

Community Additions

ADD
Show:
© 2015 Microsoft