PDA

Click to See Complete Forum and Search --> : highlight


markman
Apr 28th, 2001, 02:11 PM
Is there an api to change the highlight color in a richtextbox? I'm talking about the highlight part, not the text underneath (notice text turns white and the surrounding turns a dark purple, i need a white and a light blue).

agent
Apr 28th, 2001, 08:30 PM
in the rich text box, the selection color (the bg color) is the inverse color of the background of the box (i.e. on my system, the bg color of the box is white, the selection bg color is black). I think the only way to change this behavior is to mek the rtf box owner drawn. Not sure how to do this though.