Re: List Box
- From: David Lowndes <davidl@xxxxxxxxxxxxxxx>
- Date: Mon, 16 May 2005 08:01:30 +0100
>May i know if we are able to change the text color of the List Box? For
>example, i have 10 items in the List Box. By default, the words are
>black in color. Is there anyway i can change 1 or 2 items to another
>color, while the rest remain as black?
Wayne,
You will need to make the control use the owner drawn style and add
handlers for the WM_MEASUREITEM & WM_DRAWITEM messages.
Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
.
- References:
- List Box
- From: wayne
- List Box
- Prev by Date: Re: VC++ Express 2005 is so broken...
- Next by Date: Re: How can i ZIP a wave file using PHP.
- Previous by thread: List Box
- Next by thread: List Box
- Index(es):
Relevant Pages
|