Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CListCtrl : item image hilighting

Status
Not open for further replies.

dima2

Programmer
Jan 20, 2002
85
0
0
LB
Hi,
I have a CListCtrl (report style) in a dialog box. Each Item is inserted with a specific image.
I have come across this weird behaviour, and hope someone might be able to explain it to me:
if I select an item from the list when previously the focus was on another control, only the text is hilighted
however if I select an item while the list has focus both text and image are hilighted, and in that case if i click on a different control the text is no longer hilighted however the image still is.
What could be causing this?
and is there a way to avoid it? I mean can I force text only hilighting in all cases?

thx a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top