This message deletes a string from the list box.
Parameter |
Description |
wParam |
Contains an index to the string that is to be deleted. |
|
lParam |
Is not used. |
The return value is a count of the strings remaining in the list. The return value is CB_ERR if wParam does not specify a valid index.
If the combo box was created with an owner-draw style but without the CBS_HASSTRINGS style, a WM_DELETEITEM message is sent to the owner of the combo box so the application can free additional data associated with the item (through the lParam parameter of the CB_ADDSTRING or CB_INSERTSTRING message).