2008/12/22

CImageList에 24bit Color 이미지 로딩하기

    CBitmap bitmap;
bitmap.LoadBitmap(IDB_BITMAP1);

m_pImgList = new CImageList();
m_pImgList->Create(36, 36, ILC_COLOR24, 0, 3);
m_pImgList->Add(&bitmap, RGB(255, 0, 255));

Original Post : http://neodreamer-dev.tistory.com/222

No comments :

Post a Comment