I'm about to make a small application Windows Form/C# to keep different kind of informations such as passwords credit card info etc. It is rather simple with a treeview on the left side and a listview on the right side. Now I implement 'Search' and 'Find next' and it works fine so far in both views. However when I find and highlight a hit in a listview subitem the entire cell (background) is highlighted but I only want to highlight the text itself.
(I would like to post some images for illustration purpose but my reputation is not high enough to allow that).
Any ideas how to solve this (code example are very much appreciated)?
Thanks in advance,
Aucun commentaire:
Enregistrer un commentaire