BCGSuite for MFC
BOOL CBCGPAnimCtrl::SetBitmap ( CImageList *  pImagesAnim,
BOOL  bSizeToContent = TRUE 
)

Sets a new bitmap

Returns
Nonzero if the bitmap was set successfully; otherwise 0.

Sets an image list to the control.

Note. The animation process is stopped during a call to SetBitmap

Parameters
pImagesAnimSpecifies the new image list. The old image list will be destroyed.
bSizeToContentSpecifies whether the bitmap/image list should be stretched to fit the content