EN_SELCHANGE

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; 
 

Parameters

uID
Identifier of the rich edit control.
lpSelChange
Pointer to a SELCHANGE structure.

Return Values

No return value.

Remarks

To receive EN_SELCHANGE notifications, specify the ENM_SELCHANGE flag in the mask sent with the EM_SETEVENTMASK message.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.

See Also

Rich Edit Controls Overview, Rich Edit Notification Messages, SELCHANGE, WM_NOTIFY