CB_GETCURSEL

Version 3.0

This message returns the index of the currently selected item, if any, in the list box of a combo box.

Parameter

Description

 

wParam

Is not used.

 

lParam

Is not used.

 

Return Value

The return value is the index of the currently selected item. It is CB_ERR if no item is selected.