Well after several hours of frustration I was forced to post this question. I am trying to change the bakground color of the listview items that are selected. It's no problem to do that for non-selected icons, there are several examples here but for the selected items...hm yup there are also couple of examples of what I want to do, on the board but they are unsucessful:

http://www.asmcommunity.net/board/index.php?topic=14869&highlight=listview+color+selected
http://www.asmcommunity.net/board/index.php?topic=12970&highlight=listview+color+selected

Program called e-mule has what I want to accomplish, it uses nice light blue color for selected items instead of boring default dark blue. It's open source program but it's c++ (yuck) so I downloaded it but I was unable to find the part of the code that does it (probably wrapped with some classes or libs).
Anyone can help?
Posted on 2004-06-20 18:09:12 by Mikky
Hi Mikky,

I do exactly that in my Listview example on my website. I give it a yellow selection color, you just process the WM_NOTIFY/NM_CUSTOMDRAW message...

Listview
Posted on 2004-06-20 19:16:26 by donkey
Hi Mikky,

I guess I should note that I use dialogs not windows so when you see :

invoke SetWindowLong,, DWL_MSGRESULT, CDRF_xxxxx

Just return the value (CDRF_xxxxx) in EAX and remove the SetWindowLong.
Posted on 2004-06-20 20:01:37 by donkey