|
-
October 6th, 1999, 03:49 AM
#1
RichEdit Control
How can I change the background of a block of text in RichEditBox Control, just the background of the text and not the entire background of the control?
Chriztholeupithecus Abharroniuz
-
October 8th, 1999, 05:06 PM
#2
Re: RichEdit Control
You can use the SelColor property to change the color of the selected text.
Rich.SelColor = RGB(0, 255, 0)
-
October 9th, 1999, 08:41 PM
#3
Re: RichEdit Control
I appreciate the help....but Selcolor(RGB) changes only the forecolor
of the text.....What I want to change is the background....thx!!!
Chriztholeupithecus Abharroniuz
-
January 31st, 2001, 03:29 AM
#4
Re: RichEdit Control
send a message of EM_SETCHARFORMAT to it,
lparam = a pointer to a CHARFORMAT2 structure.
-
April 26th, 2001, 05:19 AM
#5
Re: RichEdit Control
I have a problem as yours.
I must use .SelRTF and .TextRTF property and then insert "\Highlightn" and "\highlight0" keyword before and after text you want to highlight.
If you interested in this way, I can send source code to you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|