Link to home
Start Free TrialLog in
Avatar of oxygen_728
oxygen_728

asked on

How do I show that a LISTVIEW item is selected, even when the user's focus is on another control?

For example, I have a listview with multiple items.

Say the user selects 2 or 3 items.

Then the user clicks on a text box to enter a value.... but by default, the listview
does not display which items were selected.... since the FOCUS was shifted to another control.

When the focus is elsewhere, the listview does not show which items are selected... the only way to find out is to click back onto the listview.

I noticed that windows explorer on windows XP leaves items with a grayed background when the focus leaves the listview.

How do I do this? The answer if evading me =)


Thanks

Brian
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oxygen_728
oxygen_728

ASKER

Hehe, thanks Ryan.

I had a feeling I was overlooking something.

Long night of programming.

Thanks again.

brian