Change Background color of a word in CRichEditCtrl control
-
Hi, Can anyone please give me a clue about changing the background color of a word in a CRichEditCtrl control? I've seen the documentation on Rich Edit 2.0 (whereever that lives!) and CHARFORMAT2 but whenever I try it the background color remains unchanged. BazM :confused:
-
Hi, Can anyone please give me a clue about changing the background color of a word in a CRichEditCtrl control? I've seen the documentation on Rich Edit 2.0 (whereever that lives!) and CHARFORMAT2 but whenever I try it the background color remains unchanged. BazM :confused:
Hello, see this article, http://www.codeguru.com/richedit/SyntaxColorizer.html With Regards, R.Selvm ------------------------------------------ Wish you happy new year!
-
Hello, see this article, http://www.codeguru.com/richedit/SyntaxColorizer.html With Regards, R.Selvm ------------------------------------------ Wish you happy new year!
Hi there and many thanks for your reply. I had already read this article but I dont think it helps with changing the background colour of an individual word. However, I just found a great article by Andrew Forget (CodeGuru) about Rich Edit 2 and I am hoping that this does the trick. Have a happy and prosperous new year! BazM