tags:

views:

16

answers:

0

I am using a CRichEditCtrl object.

Now when I select any text, the selection is highlighted in Blue Colour. However I need the selection to be highlighted in Black Colour.

I have tried the SetSelectionCharFormat, but it only seems to be changing the colour of the selected part when the code is executed. However when I select the text again it goes back to the default Blue.

Is there any function to change the default selection colour of CRichEditCtrl.

Thanks
Dev.