listview with system imagelist (white square)

hi,

I have a listview that using a system imagelist. The problem iIm having now is when i select/highlight a row, there is a white square around the file/folder icon(not masked ) from the system imagelist. Is there a way to fix this problem without using a owner drawn listview code example or idea will be appreciated.

thanks in advance.



Answer this question

listview with system imagelist (white square)

  • Naftis

    ImageList_Create (16, 16, ILC_MASK, 2, 2);

    i use this code without problem


  • crazyish1

    are you sure that you're using the same dimension of bitmaps declared in imagelist

    :)

     


  • TonyV

    post your code please :)
  • Ken Villines

    hi,

    I'm using system imagelist instead of creating my own imagelist from a bitmap. I just get the system imagelist handle and set it to the listview.


  • han33981

  • Chiisana

    what do u mean by using the same dimension of bitmaps declared in imagelist

    i get the small icon imagelist from the system and set the return handle to the listview so the dimension should be 16x16


  • listview with system imagelist (white square)