[vc++ .net 2005] changing color of disabled button?

Hi all,

I have a button that can be enable or disable. When it's disabled, only the text color on the button changes from black to grey. But, I want more noticible change when button is disabled. Is there any way to make it noticible? I was thinking to change the color of the button itself. Does anyone know how to do? Any other method is welcomed too.

Thanks.
shinymoonAsked:
Who is Participating?
 
drichardsConnect With a Mentor Commented:
I this a .NET form (just do set the BackColor property of the button - like "button1->BackColor = System::Drawing::Color::CadetBlue;") or something else?
0
 
Bob LearnedConnect With a Mentor Commented:
The problem is going to be when you set Enabled = false, then you can't change the text color.  Another problem is that when FlatStyle = System, then you can't change the BackColor for the button.

Bob
0
 
shinymoonAuthor Commented:
okay. I see. I'll try many ways based on the comments. Thanks a lot~
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.