View Single Post
Old Apr 23rd, 2008, 12:03 AM   #1
kurt
Programmer
 
Join Date: Oct 2005
Posts: 68
Rep Power: 3 kurt is on a distinguished road
Changing just button apperance

I've been looking at how to change the appearance of a Button.

I've managed to changed it to have rounded edges but over-riding OnPaint, however I lose the default capabilities like "enabled" and setting text up easily from the Properties menu.

If I overide OnPaint for rounded-edge appearance, I need to perform all other things as well (drawString, etc).

If i call base.OnPaint( ) first, my drawings will cover it anyway.

So the question is, any simple way to just change the apperance, but retain all other functionality?

Thanks in advance.
kurt is offline   Reply With Quote