How do I load a true color image into a CImageList?
Right now I have
mImageList.Create(IDB_IMGLIST_BGTASK, 16, 1, RGB(255,0,255));
Where IDB_IMGLIST_BGTASK is a 64×16 True color image. The ClistCtrl I am using it in shows 16 bpp color. I don’t see a Create overload that allows me to specify both the bpp and the resource to load from.
Needs 4 lines of code, but this works: