Re: Painting mixed attribute text into a control?
- From: "Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jan 2006 10:05:58 +0100
"Richard A. DeVenezia" <rdevenezia@xxxxxxxxxxxx> wrote in message
news:43qe1iF1ohcn5U1@xxxxxxxxxxxxxxxxx
> What is an effective way for painting text having a variety of styles?
>
> For example, in painting a ListView item, I would want the string XYZ
> to appear differently.
>
> In html it's easy as text := '123 abc <span
> style='background:green'>XYZ</span> for sooth';
>
> How might I render an html'ish string into an offscreen buffer and blit
> it into the control context ?
Type "OwnerDraw", press F1, read help. Prepare to read lots of help, and
try to write as little code as possible.
Groetjes,
Maarten Wiltink
.
- References:
- Painting mixed attribute text into a control?
- From: Richard A. DeVenezia
- Painting mixed attribute text into a control?
- Prev by Date: Re: Getting a Ttab*** to show on start-up
- Next by Date: Re: Folding Editor
- Previous by thread: Painting mixed attribute text into a control?
- Next by thread: Re: Painting mixed attribute text into a control?
- Index(es):