LB_SELITEMRANGE

This message selects one or more consecutive items in a multiple-selection list box.

Parameters

wParam

Specifies how to set the selection. If the wParam parameter is nonzero, the string is selected and highlighted; if wParam is zero, the highlight is removed and the string is no longer selected.

lParam

The low-order word of the lParam parameter is an index that specifies the first item to set, and the high-order word is an index that specifies the last item to set.

Return Value

The return value is LB_ERR if an error occurs.

Comments

This message should be used only with multiple-selection list boxes.