Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CComboBox::DeleteString
CComboBox                                   Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int DeleteString( UINT nIndex );
 
  Parameter   Description
 
  <nIndex>    Specifies the index to the string that is to be deleted.
 
  Remarks
 
  Deletes a string in the list box of a combo box.
 
  Return Value
 
  If the return value is greater than or equal to 0, then it is a count of
  the strings remaining in the list. The return value is CB_ERR if
  <nIndex> specifies an index greater then the number of items in the
  list.
 
  See Also
 
  CComboBox::InsertString, CComboBox::AddString, CB_DELETESTRING
 
 
                                     -♦-