BCGControlBar Pro for MFC
void CBCGPRibbonStatusBarPane::SetAnimationList ( HBITMAP  hBmpAnimationList,
int  cxAnimation = 16,
COLORREF  clrTransp = RGB(192, 192, 192),
BOOL  bDontScaleInHighDPIMode = FALSE 

Attaches an image list that can be used for animation.

hBmpAnimationListA handle to an image list.
cxAnimationSpecifies the width of frame in the image list.
clrTranspSpecifies transparent color of image list.
bDontScaleInHighDPIModeIf TRUE, the image is not scaled in high DPI mode.