Quote:
|
Originally Posted by kurt
So the question is, any simple way to just change the apperance, but retain all other functionality?
|
To my knowledge, the answer is 'no'. If you want an owner-drawn control, then as the owner, you're going to need to draw it.
However, you really only need to draw the button itself (taking into account whether it's normal or 'greyed out' for disabled; you can accomplish the latter by simply adjusting the colors in your OnPaint() method), and then the text on it. Drawing the text is easy, but figuring out placement of the text and its bounds, etc, is harder (though not that hard).