LB_GETSEL

This message returns the selection state of an item.

Parameters

wParam

Contains an index to the item. The high-order word of wParam is not used.

lParam

This parameter is not used.

Return Value

The return value is a positive number if an item is selected. Otherwise, it is zero. The return value is LB_ERR if an error occurs.