1. richedit back color
- Posted by =?iso-8859-2?B?qWtvZGE=?= <tone.skoda at SIOL.NET> Apr 03, 2000
- 442 views
------=_NextPart_000_000A_01BF9D5C.4EA743C0 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable anybody knows how to set background color of 1 character in richedit = window? i want to set background color of text in 1 line ------=_NextPart_000_000A_01BF9D5C.4EA743C0 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>anybody knows how to set background = color of 1=20 character in richedit window?</FONT></DIV> <DIV><FONT face=3DArial size=3D2>i want to set background color of text = in 1=20 ------=_NextPart_000_000A_01BF9D5C.4EA743C0--
2. Re: richedit back color
- Posted by Brian Jackson <bjackson at 2FARGON.COM> Apr 03, 2000
- 441 views
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) To change this. Brian
3. Re: richedit back color
- Posted by Kat <gertie at ZEBRA.NET> Apr 03, 2000
- 432 views
----- 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