[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Winforms CheckBox
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]Winforms CheckBox |
Date: |
Wed, 9 Jul 2003 09:11:02 +1000 |
User-agent: |
KMail/1.4.3 |
On Wednesday 09 July 2003 09:05 am, Simon Guindon wrote:
> I approaching this incorrectly and I shouldn't be using OnPaint?
> Somehow some way .NET is drawing the checkbox already.
I think they use an "internal virtual" method for this. If you modify
"ButtonBase.Draw" to be "internal virtual", then you will be able to override
it in "CheckBox" to perform your own drawing.
Cheers,
Rhys.