This message retrieves the application-supplied 32-bit value associated with the specified combo-box item. If the item is in an owner-draw combo box created without the CBS_HASSTRINGS style, this 32-bit value was contained in the lParam parameter of the CB_ADDSTRING or CB_INSERTSTRING message that added the item to the combo box. Otherwise, it was the value in the lParam parameter of a CB_SETITEMDATA message.
Parameter |
Description |
wParam |
Contains an index to the item. |
|
lParam |
Is not used. |
The return value is the 32-bit value associated with the item, or CB_ERR if an error occurs.