[perl-win32-gui-users] richedit setting background-color of some text

2003-07-20 Thread Richard Bennett
(sorry if this message comes through twice) Hi, I am parsing a textfile into a richedit control, and want to highlight certain words. I can do this by changing the fontcolor like this: if(/wordtohighlight/) { $Textbox->SetCharFormat(-color => "#55"); } while parsing the file, but I can'

[perl-win32-gui-users] richedit setting background-color of some text

2003-07-20 Thread Richard Bennett
Hi, I am parsing a textfile into a richedit control, and want to highlight certain words. I can do this by changing the fontcolor like this: if(/wordtohighlight/) { $Textbox->SetCharFormat(-color => "#55"); } while parsing the file, but I can't find how to change the background color for