Re: Keep a selection highlighted in a listView when it loses the focus by Jeff
Jeff
Thu Jun 07 15:27:36 CDT 2007
"Guillaume Charhon" <pub.charhon@wanadoo.fr> wrote in message
news:46667166$0$27383$ba4acef3@news.orange.fr...
> I've created a ListView with some images.
> I can selected an image, but when the focus leaves the listView, the item
> doesn't appear highlighted.
>
> I've tried to change the property HideSelection to false, but it doesn't
> work.
If you mean the image itself no longer appears highlighted, I believe that
behavior is by design. When HideSelection is false, you should notice that
the TEXT of the item is still highlighted, although in the "inactive"
highlight color. To achieve what you want you'd probably have to resort to
owner-drawn items.