BCGControlBar Pro for MFC
virtual int CBCGPEditListBase::AddItem ( const CString &  strIext,
DWORD_PTR  dwData = 0,
int  iIndex = -1 
)
pure virtual

Adds a new item to the CBCGPEditListBase - derived object. Implementation required.

Returns
The zero-based index to the item in the list control.

Override this member function to implement add operation to a list control. If iIndex is -1, than the new item should be added to the end of the list. Otherwise, the item should be inserted into the list.

Parameters
strIextSpecifies the item's text
dwDataSpecifies the item's extra data
iIndexSpecifies the item's index

Implemented in CBCGPEditListBox.