SELCHANGE structure (richedit.h)
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.
Value | Meaning |
---|---|
|
Text. |
|
At least one COM object. |
|
More than one character of text. |
|
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 |