BOOL Read( CArchive* pArchive );
Return Value
Nonzero if successful; otherwise 0.
Parameters
pArchive
A pointer to a CArchive object from which the image list is to be read.
Remarks
Call this function to read an image list from an archive.
Example
// The pointer to my image list.
extern CImageList* pmyImageList;
// Open the archive to load the image list from.
CFile myFile(TEXT("myfile.data"), CFile::modeRead);
CArchive ar(&myFile, CArchive::load);
// Load the image list from the archive.
pmyImageList->Read(&ar);
CImageList Overview | Class Members | Hierarchy Chart
See Also CImageList::Write