hello, all,
        I have establish a IDC_LIST control, and I have set the color just like this:


  invoke SendMessage,hwndList1,LVM_SETBKCOLOR,0,0C0FFFFh
  invoke SendMessage,hwndList1,LVM_SETTEXTCOLOR,0,0800000h

      and it works very well. But when I send text to it, It's back ground color changed to normal, Then what I do know?
Attachments:
Posted on 2005-12-03 07:09:31 by miaomiao
Try LVM_SETTEXTBKCOLOR
Posted on 2005-12-03 10:41:15 by lone_samurai5
Thank you lone_samurai5, I changed the backcolor successfully :)
Posted on 2005-12-03 18:54:30 by miaomiao