Re: richedit back color

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: "Brian Jackson" <bjackson at 2FARGON.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, April 03, 2000 8:01 AM
Subject: Re: richedit back color


> On Mon, 3 Apr 2000 11:03:57 +0200, =?iso-8859-2?B?qWtvZGE=?=
> <tone.skoda at SIOL.NET> wrote:
>
> >anybody knows how to set background color of 1 character in richedit
> window?
> >i want to set background color of text in 1 line
> >
>
> There's no way I know of to do this, background color is an attribute of
> the entire control.  You can do a:
>
> ret = sendMessage(richedControl, EM_SETBKGNDCOLOR, 0, #800000)

(I don't remember the original email in this thread... but..)
There must be a way to do it, my dos pascal IDE changes background color on
a character basis, and so does dos Xtree, and so does the trace window for
Eu. Look for a color bitmap in the color controls of the video card, but i
wouldn't make any changes to it in windoze, and you prolly can't change it
in linux.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu