CImageList::Read

更新 : 2007 年 11 月

アーカイブからイメージ リストを読み込みます。

BOOL Read(
   CArchive* pArchive 
);

パラメータ

  • pArchive
    イメージ リストを読み出す CArchive オブジェクトへのポインタ。

戻り値

正常終了した場合は 0 以外を返します。それ以外の場合は 0 を返します。

使用例

// 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);   

必要条件

ヘッダー : afxcmn.h

参照

参照

CImageList クラス

階層図

CImageList::Write

その他の技術情報

CImageList のメンバ