About the SysListView32,

I think I did not ask the right question. Now thinks are clearer for me. When user selects one item from the list a rather blue semi-transparent square covers the image meaning that the item is selected (text backcolor also becomes blue) ; Right?

Ok. I think its something to do with mask colors or something like this. Every other listview I've seen in other programs, when an item is selected its text background becomes blue (like in my list) but the image is not covered by that rather blue semi-transparent square but instead SOME parts of the image change color.

I'm looking forward to hearing the something good...

Regards
Posted on 2003-02-28 15:51:16 by akyprian
So what do you want to change in it?
Posted on 2003-02-28 16:22:10 by The Svin
OK I use this :

.
.
.
.
Invoke ImageList_Add, hImageList, hBitmap, NULL
Invoke DeleteObject, hBitmap

Invoke SendMessage, hListView, LVM_SETIMAGELIST, LVSIL_NORMAL,hImageList

MOV lvi.imask, LVIF_TEXT or LVIF_IMAGE
MOV lvi.iItem,0
MOV lvi.iSubItem, 0
MOV lvi.pszText, CTEXT("Item 1")
MOV lvi.iImage, 0
Invoke SendMessage,hListView,LVM_INSERTITEM,0,ADDR lvi

I DO NOT WANT THAT SEMI-TRANSPARENT SQUARE THAT COVERS THE IMAGE OF THE ITEM.
Posted on 2003-02-28 16:34:54 by akyprian
Maybe, and I'm not at all sure of this, you could set up a stateimagelist and set the LVIS_SELECTED image to the same as the normal image. It wouldn't be that complicated to do, just have to read the docs on stateimagelists.

Just check the following link at MSDN for info on the LVITEM structure it will explain how to set it up.

Donkey
Posted on 2003-02-28 17:38:26 by donkey