Export (0) Print
Expand All
Expand Minimize

CMFCToolBarComboBoxButton::DeleteItem

Deletes a specified item from the list box.

BOOL DeleteItem(
   int iIndex 
);
BOOL DeleteItem(
   DWORD_PTR dwData 
);
BOOL DeleteItem(
   LPCTSTR lpszText 
);

[in] iIndex

The zero-based index of the item to be deleted.

[in] dwData

The data associated with the item to be deleted.

[in] lpszText

The text of the item to be deleted. If there are multiple items with the same text, the first item is deleted.

TRUE if the item was located and successfully deleted; otherwise, FALSE.

Header: afxtoolbarcomboboxbutton.h

Community Additions

ADD
Show:
© 2014 Microsoft