Highlight selected items in ListView

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've noticed that selected items in a ListView are only highlighted if the
control has focus. I find this to be highly undesirable because it can cause
the control to behave differently than what would be expected based on the
visual appearance. Is there any way to force the selected items to be
highlighted even when the control does not have focus?

Thanks,
Lance
 
ljlevend2 said:
I've noticed that selected items in a ListView are only highlighted if the
control has focus. [...] Is there any way to force the selected items to
be
highlighted even when the control does not have focus?

Set the listview control's 'HideSelection' property to 'False'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top