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;
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 |
Windows NT: Requires version 3.51 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Structures, EN_SELCHANGE