The EN_SELCHANGE notification message notifies a rich edit control's parent window that the current selection has changed. A rich edit control sends this notification message in the form of a WM_NOTIFY message.
EN_SELCHANGE
wParam = (WPARAM) (UINT) uID;
lParam = (LPARAM) (SELCHANGE FAR *) lpSelChange;
No return value.
To receive EN_SELCHANGE notifications, specify the ENM_SELCHANGE flag in the mask sent with the EM_SETEVENTMASK message.
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 Notification Messages, SELCHANGE, WM_NOTIFY