BCGControlBar Pro for MFC
int CBCGPToolBarImages::AddImage ( const CBCGPToolBarImages imageList,
int  nIndex 
)

Adds an image from image list to a collection of toolbar images.

Returns
A new number of toolbar images maintained by the CBCGPToolBarImages object if the new bitmap was added successfully; otherwise -1.

Call this function to extend the collection of toolbar images maintained by the CBCGPToolBarImages object.

Parameters
imageListSpecifies source image list.
nIndexIndex in the image list.