Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SELCHANGE

SELCHANGE structure

Contains information associated with an EN_SELCHANGE notification code. A rich edit control sends this notification to its parent window when the current selection changes.

Syntax


typedef struct _selchange {
  NMHDR     nmhdr;
  CHARRANGE chrg;
  WORD      seltyp;
} SELCHANGE;

Members

nmhdr

Type: NMHDR

Notification header.

chrg

Type: CHARRANGE

New selection range.

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

Text.

SEL_OBJECT

At least one COM object.

SEL_MULTICHAR

More than one character of text.

SEL_MULTIOBJECT

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_SELCHANGE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft