DeleteBitmapListItems example for C++ 4.0 and later

This example deletes the first five bitmaps from the control's bitmap list. Then, it plays the animation to show that the bitmaps are missing.

//Delete the first five bitmaps.
m_Lead1.DeleteBitmapListItems(0, 5);

//Play the animation without looping.
m_Lead1.SetAnimationLoop(FALSE);
m_Lead1.SetAnimationEnable(TRUE);