BCGControlBar Pro for MFC
void CBCGPCaptionBar::SetImageIndex ( int  nIndex)

Specifies the index of the active icon. Should work in conjunction with the SetImageList() method.

Parameters
nIndexZero-based index of the current icon.