Solved

How to change the color of selected item in CListCtrl?

Posted on 2008-10-02
3
1,919 Views
Last Modified: 2013-11-20
Hallo all,
I want to change the color of selected item in ListCtrl, but I don't know how :-(
I already found a related topic here
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10011948.html?sfQueryTermInfo=1+setbkcolor

but I need more details of how to write the DrawItem().
Can somebody help me?
Thank you very much
Regards
0
Comment
Question by:rambovn
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
alb66 earned 500 total points
ID: 22622776
0
 
LVL 8

Author Comment

by:rambovn
ID: 22622841
Thank you for your quick help. I will check it and come back :-)
Regards
0
 
LVL 8

Author Comment

by:rambovn
ID: 22659187
I come back, yesterday my colleague did it , and he said that yr 3 websites didn't bring much help.
But anyway I will give points to your help :-)
Thank you very much again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now