BCGControlBar Pro for MFC
BOOL CBCGPShellList::RemoveItem ( int  iItem,
BOOL  bPermanent,
BOOL  bConfirmDelete = TRUE 
)

Delete item.

Parameters
iItemZero-based index of the item.
bPermanentSpecifies whether the item should be permanently deleted. If this parameter is FALSE, the item will be moved to the Windows recycle bin.
bConfirmDeleteIf this parameter is FALSE, the confirmation dialog will never be displayed, TRUE - use system default settings (default value).
Returns
True if it succeeds, false if it fails.