BCGControlBar Pro for MFC
BOOL CBCGPPopupMenu::RemoveItem ( int  iIndex)

Removes an item from a popup menu.

Returns
Nonzero if successful; otherwise 0.

The RemoveItem function automatically arranges separators. See CBCGPToolBar::RemoveButton for details.

Parameters
iIndexSpecifies the zero-based index of the item to be deleted.