LB_SELITEMRANGE

Version 3.0

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

Parameter

Description

 

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.

 

Parameter

Description

 

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.