Solved

How to change the color of selected item in CListCtrl?

Posted on 2008-10-02
3
2,060 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

691 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