Click to See Complete Forum and Search --> : Listview control


Lighthill
June 11th, 2003, 05:20 AM
Hi,
I'am using a listview, but the icons of the imagelist i associate with the control, can't be displayed with more colors than 16. But i need to use 256 colors, i tried icons and bitmaps. Does anyone know how i could solve this problem ?

rxbagain
June 11th, 2003, 06:15 AM
How you created the Image List? Maybe you set it to ILC_COLOR16 that's why it only supports 16 colors. Try to change it to ILC_COLORDDB or ILC_MASK.

Hope it will help you

Lighthill
June 11th, 2003, 06:35 AM
Thank you so much rxbagain, it works with icons and bitmaps :-)
I tried everything except of focusing the call of ImageList_Create.