|
-
October 20th, 1999, 04:14 AM
#1
CListCtrl
I am trying to change the text background colour in different rows in my app using CListCtrl, but if I change the first and then reset the rest of the rows to a default colour the first changes to match the default colour. I am using the code:
if (index == 0) {
ptr->SetTextBkColor(0x000000);
}
else
{
ptr->SetTextBkColor(0xffff00);
}
Does anybody know why the first index does not stay as the orignal colour?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|