Add a string to the list box of a combo box or return the number of strings contained in the list box of a combo box.
CBADD dlg_id id ["string"]
dlg_id Specifies the identifier of the dialog box that contains the combo box. id Specifies the identifier of the combo box. string Specifies a sequence of characters to add to the list box of a combo box.
When parameter "string" is not specified then the number of strings contained in the list box of the specified combo box is returned in the environment variable CBADD.
If the combo box does not have the Sort style, the specified string is added to the end of the list. Otherwise, the string is inserted into the list, and the list is sorted.