BCGControlBar Pro for MFC
int CBCGPToolBarImages::AddIcon ( HICON  hIcon,
BOOL  bAlphaBlend = FALSE 
)

Adds an icon to the list of toolbar images.

Returns
The zero-based index of a newly added toolbar image.

This function allows to add a new icon to the list of toolbar images.

Parameters
hIconA handle to icon to be added.
bAlphaBlendSet it to TRUE if icon has alpha channel.