XLL+ Class Library (7.0)

CXlControlListBox::DeleteString

Deletes a string from a list box

int DeleteString(
   int nIndex
);

Parameters

nIndex

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

Return Value

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

Remarks

Deletes an item in a list box.

Requirements

Header: xldialog.h

See Also

CXlControlListBox Class | CXlControlListBox Methods