Tuesday, 31 January 2012

CImageList Add return index skipping fix C++

iIndex = m_ImgList.m_ImageListCopy.Add(&cb16,CLR_NONE );

If the iInex skips e.g. 4 from last image then this means the image is actually 4x larger and needs scaling to 16x16.

No comments:

Post a Comment