CImageList::Write
Call this function to write an image list object to an archive.
BOOL Write(
CArchive* pArchive
);
Параметры
- pArchive
A pointer to a CArchive object in which the image list is to be stored.
Возвращаемое значение
Nonzero if successful; otherwise 0.
Пример
// Open the archive to store the image list in.
CFile myFile(_T("myfile.data"), CFile::modeCreate | CFile::modeWrite);
CArchive ar(&myFile, CArchive::store);
// Store the image list in the archive.
m_myImageList.Write(&ar);
Требования
Header: afxcmn.h