Solved

How to change the color of selected item in CListCtrl?

Posted on 2008-10-02
3
2,035 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how do i create updater to My Activex application? 3 108
maxBlock challenge 30 150
no14 challenge 14 76
Execute multiple curl cmds with sleep and send output to file 10 121
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…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

737 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