Click here to Skip to main content
15,894,955 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am looking for a way to disable the highlight color behind the text usually in the form of a blue rectangle that can be seen in the most of text controls.

Is there a way to change or disable this, for the system or even better an individual control programmatically?

Thanks George
Posted
Updated 1-Mar-12 13:49pm
v2
Comments
grwithey 29-Feb-12 9:32am    
Programaticaly being able to change this colour through the windows themes would also do the job. Dont know if there is anything in windows/resources/themes that would help like shellstyle.dll ect =/

1 solution

The best way would be to create a custom control that paints itself, and then you could chose to use either the native control or your custom control, whichever is appropriate. This wouldn't be hard to do, but it would be a bit tedious.

However, one has to wonder why you would want to do this. The reason Windows exists is to give the same general appearance to applications so that once a user has learned how to use one windows app, he knows what to expect from all windows apps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900