SELCHANGE

The SELCHANGE stucture contains information associated with an EN_SELCHANGE notification message. A rich edit control sends this notification to its parent window when the current selection changes.

typedef struct _selchange {

NMHDR nmhdr;

CHARRANGE chrg;

WORD seltyp;

} SELCHANGE;

Members

nmhdr

Notification header.

chrg

New selection range.

seltyp

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 Contents of the selection
SEL_TEXT Text
SEL_OBJECT At least one OLE object
SEL_MULTICHAR More than one character of text
SEL_MULTIOBJECT More than one OLE object

See Also

EN_SELCHANGE