Upravit

Sdílet prostřednictvím


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

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

Reference

SELCHANGE

WM_NOTIFY