Re: Is there a way to change foreground color depending on backgound color?
From: Jim (spam_at_ihug.com.au)
Date: 05/21/04
- Next message: Kevin Cochran: "Re: Simple Redraw Question"
- Previous message: Louis Solomon [SteelBytes]: "Re: How to use GetGlyphOutline to get a grayscaled Bitmap?"
- In reply to: Jaime Stuardo: "Is there a way to change foreground color depending on backgound color?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 21 May 2004 15:23:32 +1000
On Thu, 20 May 2004 23:12:39 -0400, "Jaime Stuardo"
<jstuardo@manquehue.net> wrote:
>Hi all...
>
>I have a list control that paints the background of an item depending on
>what the user has configured. Is there a way to accomodate automatically the
>color of the text so that the item will be readable?
>
>For example, if the user decided to use red background for certain items,
>the text of those items need to be drawn using other color, for example,
>white.
>
>Any help will be greatly appreciated
>Thanks
>Jaime
>
Draw using XOR mode.
Jim
- Next message: Kevin Cochran: "Re: Simple Redraw Question"
- Previous message: Louis Solomon [SteelBytes]: "Re: How to use GetGlyphOutline to get a grayscaled Bitmap?"
- In reply to: Jaime Stuardo: "Is there a way to change foreground color depending on backgound color?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|