CListBox::DeleteString

int DeleteString( UINT nIndex );

Return Value

A count of the strings remaining in the list. The return value is LB_ERR if nIndex specifies an index greater than the number of items in the list.

Parameters

nIndex

Specifies the zero-based index of the string to be deleted.

Remarks

Deletes an item in a list box.

CListBox OverviewClass MembersHierarchy Chart

See Also   LB_DELETESTRING, CListBox::AddString, CListBox::InsertString