TextBox Selected Color - A Very Critical Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am having a custom textBoxControl derived from Windows TextBox Control
I want to change the selection highlight default color, which is blue to say Green
But am nowhere getting any solution as to how can i change that highlight color from default Blue to Green
Offcourse one solution is to change the system brush but it will then affect all the other applications running on my maching which should not happen..

Does anybody had any idea how is it possible?

Hi Bob can u slove this fro me please.....
 
Nilesh Rade said:
I am having a custom textBoxControl derived from
Windows TextBox Control. I want to change the selection
highlight default color, which is blue to say Green. But am
nowhere getting any solution as to how can i change that
highlight color from default Blue to Green.

I'm pretty sure you'll have to paint the TextBox control yourself if you
want to do this. Why do you want to change the selection highlight color
anyway? Your users have picked out colors they're comfortable with; you
should trust their judgement.

Jeremy
 
Back
Top