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. |
The return value is the index of the currently selected item. It is CB_ERR if no item is selected.