LoadDatabase example for C++ 5.0 and later
int i;
// select 2nd to 4th items
for(i=1; i<=3; ++i)
m_LEADImageList.Item(i).SetSelected(TRUE);
//save all selected items to a multipage file
m_LEADImageList.SaveDatabase("d:\\temp\\testing.tif", TRUE);
AfxMessageBox(TEXT("about to reload file"));
//clear list
m_LEADImageList.Clear();
//reload file
m_LEADImageList.LoadDatabase ("d:\\temp\\testing.tif");