EN_SELCHANGE notification code
Notifies a rich edit control's parent window that the current selection has changed. A rich edit control sends this notification code in the form of a WM_NOTIFY message.
EN_SELCHANGE pSelChange = (SELCHANGE *) lParam;
A SELCHANGE structure that receives information about the selection.
This notification code does not return a value.
This notification code is sent when the caret position changes and no text is selected (the selection is empty). The caret position can change when the user clicks the mouse, types, or presses an arrow key.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2003 [desktop apps only]