int DeleteItem( int iIndex );
Return Value
The number of items remaining in the control. If iIndex is invalid, the function returns CB_ERR.
Parameters
iIndex
Zero-based index of the item to be removed.
Remarks
This member function implements the functionality of the message CBEM_DELETEITEM, as described in the Platform SDK. When you call DeleteItem, a WM_NOTIFY message with CBEN_DELETEITEM notification will be sent to the parent window.