Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this function to read an image list from an archive.
BOOL Read(
CArchive* pArchive
);
Parameters
- pArchive
A pointer to a CArchive object from which the image list is to be read.
Return Value
Nonzero if successful; otherwise 0.
Example
// Open the archive to load the image list from.
CFile myFile(_T("myfile.data"), CFile::modeRead);
CArchive ar(&myFile, CArchive::load);
CImageList myImgList;
// Load the image list from the archive.
myImgList.Read(&ar);
Requirements
Header: afxcmn.h