int AddString( const char FAR* lpString );
lpString
Points to the null-terminated string that is to be added.
Adds a string to the list box of a combo box. If the list box was not created with the CBS_SORT style, the string is added to the end of the list. Otherwise, the string is inserted into the list, and the list is sorted.
To insert a string into a specific location within the list, use the InsertString member function.
If the return value is greater than or equal to 0, it is the zero-based index to the string in the list box. The return value is CB_ERR if an error occurs; the return value is CB_ERRSPACE if insufficient space is available to store the new string.
CComboBox::InsertString, CComboBox::DeleteString, CB_ADDSTRING