BCGControlBar Pro for MFC
virtual BOOL CBCGPEditListBase::OnBeforeRemoveItem ( int  iItem)
inlinevirtual

Called when a list box item is about to be deleted.

Returns
You should return nonzero value to allow the item to be removed from the list box.

Override this member function to receive notifications that a list box item is about to be removed from the list box when user pressed the BGCEDITLISTBOX_BTN_DELETE_ID standard button.

The base implementation returns TRUE, thus allowing to remove the selected list box item.

Parameters
iItemSpecifies the index of the item that will be deleted.