This message sets the 32-bit value associated with the specified item in a combo box. If the item is in an owner-draw combo box created without the CBS_HASSTRINGS style, this message replaces the 32-bit value that was contained in the lParam parameter of the CB_ADDSTRING or CB_INSERTSTRING message that added the item to the combo box.
Parameter |
Description |
wParam |
Contains an index to the item. |
|
lParam |
Contains the new value to be associated with the item. |
The return value is CB_ERR if an error occurs.