[Mono-winforms-list] button implmentation

Akhilesh Agarwal akhilesh_agarwal@msn.com
Wed, 13 Aug 2003 20:55:51 +0530


Hello,

>> So, it seems that MS tells us not to use their own Win32 API to
create
>> owner-drawn controls (even though I can't prove or state that MS
>> necessarily follows their own preachings), but to use GDI+ facilities
to
>> do the drawing of the control.=20

>From what I know, there is a property called Flatstyle on Button and
some other controls.=20

System: Use the operating system to draw the control (I believe this
means use of P/Invoke because on Windows XP themes are enabled only by
using this setting).

Standard (which is the default setting): .NET draws the control on its
own. XP themes are also not enabled in this case.

Akhilesh Agarwal