Editor_SetSelType

Sets the type of selection status. You can use this inline function or explicitly send the EE_SET_SEL_TYPE message.

Editor_SetSelType( hwnd, nSelType );

Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

nSelType

You can specify a combination of the following values. However, SEL_TYPE_NONE, SEL_TYPE_CHAR, SEL_TYPE_LINE, SEL_TYPE_BOX cannot be combined. Only SEL_TYPE_KEYBOARD can be combined with SEL_TYPE_NONE, SEL_TYPE_CHAR, SEL_TYPE_LINE, or SEL_TYPE_BOX.

SEL_TYPE_NONE

Not selected.

SEL_TYPE_CHAR

Stream selection mode.

SEL_TYPE_LINE

Line selection mode.

SEL_TYPE_BOX

Vertical selection mode.

SEL_TYPE_KEYBOARD

Specifies the keyboard selection mode. This value can be combined with another value.

Return Values

Not used.