Solved

List Control

Posted on 1998-08-17
2
214 Views
Last Modified: 2013-11-20
How to change the color of the particular column in the
report view list control, i am using MFC CListCtrl class.
0
Comment
Question by:subbi
[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 Comments
 

Author Comment

by:subbi
ID: 1320939
code  preferable
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 50 total points
ID: 1320940
The built in control can't do this, unless you opt to paint it yourself (by overriding DrawItem)

Fortunately, somebody else has already written the code for you.

For a whole set of articles go to
http://www.codeguru.com/listview/index.shtml 

Look for an article called
"Change the background color of individual columns - Zafir Anjum" which is 19th from the bottom of the page in the section titled "Background color and image".  Sample code is there.

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

696 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