Düzenle

Aracılığıyla paylaş


EM_SELECTIONTYPE message

Determines the selection type for a rich edit control.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

If the selection is empty, the return value is SEL_EMPTY.

If the selection is not empty, the return value is a set of flags containing one or more of the following values.

Return code Description
SEL_TEXT
Text.
SEL_OBJECT
At least one COM object.
SEL_MULTICHAR
More than one character of text.
SEL_MULTIOBJECT
More than one COM object.

Remarks

This message is useful during WM_SIZE processing for the parent of a bottomless rich edit control.

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

WM_SIZE