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 |