Export (0) Print
Expand All

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; 

Parameters

lParam

A SELCHANGE structure that receives information about the selection.

Return value

This notification code does not return a value.

Remarks

To receive EN_SELCHANGE notification codes, specify ENM_SELCHANGE in the mask sent with the EM_SETEVENTMASK message.

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

See also

Reference
SELCHANGE
WM_NOTIFY

 

 

Community Additions

ADD
Show:
© 2014 Microsoft