Solved

changing the color of a list view

Posted on 2002-05-31
4
255 Views
Last Modified: 2010-04-02
Hi there,
How would I go about altering the color of a specific list view enty in a box in 'detail' mode.
I'm using BCB4 but it does not have a font param for individual entries. (TListView)
Thanks in advance
DS
0
Comment
Question by:dsch
4 Comments
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 50 total points
Comment Utility
You must use custom listview and react to
OnCustomDrawSubItem event or trap NM_CUSTOMDRAW event.
Example of last dee in
http://delphi.mers.com/cgi-bin/mer.exe/EXECSEARCH?pageno=1&searchtext=color+listview+item&grouptext=cppbuilder&linktype=viewmsg&msgno=26592&boardno=1820
0
 
LVL 1

Author Comment

by:dsch
Comment Utility
Thank Alex, I will take a good look.
Kind Regards
David
0
 
LVL 11

Expert Comment

by:griessh
Comment Utility
Dear dsch

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "AlexVirchovsky"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

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

10 Experts available now in Live!

Get 1:1 Help Now