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.
CListBox::DeleteString
CListBox                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int DeleteString( UINT nIndex );
 
  Parameter   Description
 
  <nIndex>    Specifies the zero-based index of the string to be deleted.
 
  Remarks
 
  Deletes an item in a list box.
 
  Return Value
 
  A count of the strings remaining in the list. The return value is LB_ERR
  if the <nIndex> specifies an index greater then the number of items in
  the list.
 
  See Also
 
  LB_DELETESTRING, CListBox::AddString, CListBox::InsertString
 
 
                                     -♦-