BCGControlBar Pro for MFC
void CBCGPStatusBar::SetPaneIcon ( int  nIndex,
HICON  hIcon,
BOOL  bUpdate = TRUE,
BOOL  bAlphaBlend = FALSE 

Sets indicator icon for a given index.

Call this member function to set the pane icon. If you don't want to display the image anymore just pass the NULL value as the image handle.

If there is any running animation that was set previously by SetPaneAnimation, the animation will be stopped.

nIndexIndex of the pane whose image is to be set.
hIconHandle to the icon to be set as the pane image.
bUpdateSpecifies whether to update the pane content immediately.
bAlphaBlendShould be TRUE if the icon uses 32 bit color.