Converting Color of fonts
Posted on 1998-09-16
I'm using a richedit with a black background and white font. The problem is that when opening a rtf document, usually the fonts are black, so I need to convert them. Now I do it using richedit and looking at each character and converting it to white. But it is slow.
Does anyone know how to make a fast routine, maybe using a memorystream or something.
the routine will be something like this then,
selecting a file with Opendialog load it into a memorystream, do the converting, dump it in Richedit.
But the formatting must be left intact. I'm giving a lot of points. So I would appreciate working code.