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
iImage
Specifies the zero-based index of the image to delete.