Solved

How to change the color of selected item in CListCtrl?

Posted on 2008-10-02
3
1,984 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Question regarding Copy/Paste 16 96
Expand to include initial dialog with two choices. 9 80
centeredAverage challenge 8 180
zeroMAx challenge 20 114
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…
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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 …

820 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