A
ari
I have recently upgraded from vb.net 2002 to 2005, and have
encountered the following problem.
I have a listview with say a dozen items. Following a user action I
programmatically update the background colour of the currently
selected item to red. Lets say in this case it was the 3rd row.
The 3rd row is still the current item, so its still got a blue
background. Now in the past if I scrolled down or clicked on another
row, I would see the 3rd row with a red background, but now I don't -
its white. If I resize the window (which resizes the listview) I
suddenly see the 3rd row with a red background, but if I select it,
and then something else, then it goes back to being white until I
resize again, when it again is red.
encountered the following problem.
I have a listview with say a dozen items. Following a user action I
programmatically update the background colour of the currently
selected item to red. Lets say in this case it was the 3rd row.
The 3rd row is still the current item, so its still got a blue
background. Now in the past if I scrolled down or clicked on another
row, I would see the 3rd row with a red background, but now I don't -
its white. If I resize the window (which resizes the listview) I
suddenly see the 3rd row with a red background, but if I select it,
and then something else, then it goes back to being white until I
resize again, when it again is red.