XLL+ Class Library

CXlControlListBox::DeleteString

Deletes a string from a list box

[C++]
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