I just downloaded and compiled the code. It works fine for me. I made a simple mod to the ProcessCustomDraw function to accomplish your task of changing the color of a particular selected listview item.The source code even does not work!!
Maybe I'm just the exception to the rule.