Delete a string from the specified location in the list box of a combo box or clear the contents of a combo box.
CBDELETE dlg_id id [index]
dlg_id Specifies the identifier of the dialog box that contains the combo box. id Specifies the identifier of the combo box. index Specifies the index of the string to remove from the list box of a combo box.
When parameter index is not specified then all the strings contained in the list box of the specified combo box is removed and the edit field of the combo box is cleared.
Indexes are zero based, that is, the first string in the list box of a combo box is at index 0, the second string is at index 1 and so on.