EM_EXSETSEL message

Selects a range of characters or Component Object Model (COM) objects in a Microsoft Rich Edit control.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

A CHARRANGE structure that specifies the selection range.

Return value

The return value is the selection that is actually set.

Requirements

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