I have a CListControl list bunch of images. I set the list control's
image list, like this.
m_iList.Create(THUMBNAIL_WIDTH, THUMBNAIL_HEIGHT, ILC_COLOR32, 0,
Then I add bitmap to my image list like this:
m_iList.Replace(i, &mfcBmp, NULL);
The problem is if the actual image is smaller than the image size
specify when create the image list, the backgound of the space around
the image is black. I want the background be white. So I used
pmyImageList->SetBkColor(RGB(255, 255, 255));
But it doesn't help. How can I fix this?