Solved

How to change the color of selected item in CListCtrl?

Posted on 2008-10-02
3
1,881 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
Comment Utility
0
 
LVL 8

Author Comment

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

Author Comment

by:rambovn
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

12 Experts available now in Live!

Get 1:1 Help Now