BCGControlBar Pro for MFC
BOOL CBCGPToolBarImages::DeleteImage ( int  iImage)

Deletes an image from the user-defined bitmap.

Returns
Nonzero if the image was deleted successfully; it is 0 if the image index is invalid, the CBCGPToolBarImages object is temporary, the CBCGPToolBarImages object is not user-defined or if some other error occurred.

Call this function to delete a user-defined image from the CBCGPToolBarImages object.

Parameters
iImageSpecifies the zero-based index of the image to delete.