G
Geo
Hi,
I'm using a List Control (report view) in a dialog. This
list displays 4 text items, each consisting of 3 columns.
Let's consider the following example:
Title of column1 Title c2 Title c3 Title c4
Item1 info12 info13 info14
Item2 info22 info23 info24
Item3 info32 info33 info34
Item4 info42 info43 info44
I want to change the text color of an item if a cetain
condition is true. In the example above, say I want to
change the color of the whole line of 'item2' and 'item3'.
I tried to use the CListCtrl class method SetTextColor()
and it worked so so. If I minimize the dialog and then
restore it again, the list is refreshed and it displays
all the items with the original text color.
What should I do to fix this problem or if you have
another solution to do this, please help me with it.
Thanks,
Geo
I'm using a List Control (report view) in a dialog. This
list displays 4 text items, each consisting of 3 columns.
Let's consider the following example:
Title of column1 Title c2 Title c3 Title c4
Item1 info12 info13 info14
Item2 info22 info23 info24
Item3 info32 info33 info34
Item4 info42 info43 info44
I want to change the text color of an item if a cetain
condition is true. In the example above, say I want to
change the color of the whole line of 'item2' and 'item3'.
I tried to use the CListCtrl class method SetTextColor()
and it worked so so. If I minimize the dialog and then
restore it again, the list is refreshed and it displays
all the items with the original text color.
What should I do to fix this problem or if you have
another solution to do this, please help me with it.
Thanks,
Geo