Remove example for C++ 5.0 and later
//remove the 2nd item from the ImageList Control m_LEADImageList.Remove(1);