custom listview loses item color when no item is selected

  • Thread starter Thread starter Brian S
  • Start date Start date
B

Brian S

I have a custom listView that works fine. There are items that are
colored red to notify the user that there is a problem. However, if
you select one of the red items, then select space below any of the
other items, the red item turns back to default black. The only code
getting called on this is a listView_Click event. If you select any
other item, no matter what color, from the listView, the original one
that was selected stays red. Anyone have any ideas on this? I'm
thinking this is a MS bug, since no other code is being called, and
the only time we change colors on these items are when they are added
to the list (on program load), or if the item's properties are edited.
Neither of these events are happening right now.

Thanks in advance.

~Brian
 
Hi Brian
i have been searching but didn't find any thing about bug that matchs your
problem , would you mind posting your code
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Lemme see if I can rip it out and isolate it. I'd cut/paste directly
form the project, but I'm sure our customers wouldn't be too happy with
that, even though it wouldn't be giving up any info. I'll try to put
something together in the next day or so. Thanks.
 
Back
Top