EE_GET_MULTI_SEL

Retrieves the information of a specified selection when multiple selections are available. You can send this message explicitly or use the Editor_GetMultiSel inline function.

EE_GET_MULTI_SEL
wParam = (WPARAM) (UINT_PTR) iSel;
lParam = (LPARAM) (SEL_INFO*) pSelInfo;

Parameters

iSel

Index of the selection of which the information will be retrieved. If -1 is specified, the number of selections will be returned.

pSelInfo

Pointer to the SEL_INFO structure.

Return Values

If iSel is -1, the return value is the number of selection. Otherwise, TRUE if the specified selection information is retrieved. The return value is FALSE if the selection is not multiple selection mode or an error occurs in the function.