BCGControlBar Pro for MFC
virtual INT_PTR CBCGPRibbonComboBox::AddItem ( LPCTSTR  lpszItem,
DWORD_PTR  dwData = 0 
)
virtual

Adds a new item and returns the index of added item.

Parameters
lpszItemItem text.
dwDataUser-defined data associated with the item.