CComboBoxEx::InsertItem

int InsertItem( const COMBOBOXEXITEM* pCBItem );

Return Value

The index at which the new item was inserted if successful; otherwise -1.

Parameters

pCBItem

A pointer to a COMBOBOXEXITEM structure that will receive the item information. This structure contains callback flag values for the item.

Remarks

When you call InsertItem, a WM_NOTIFY message with CBEN_INSERTITEM notification will be sent to the parent window.

CComboBoxEx OverviewClass MembersHierarchy Chart

See Also   CComboBoxEx::GetItem, CComboBoxEx::SetItem