Hi,
A System.Windows.Forms.Button with FlatStyle set to 3-D (Standard) is not
3-D enough for my application. Its hard to tell when the button is up or
down.
Users of my application need a strong visual feedback.
Does anyone know if its possible to increase a Button's border
width/thickness
without overriding the Paint event and drawing the button manually?
Thanks, Jeff
Morten Wennevik - 29 Sep 2004 12:57 GMT
Hi Jeff,
If you plan to run your application on Windows XP or later (Windos 2003 requires XP style theme installed) you can use FlatStyle.System and put
Application.EnableVisualStyles();
before Application.Run();
The buttons won't have any larger borders, but the color changes slightly when the button is pressed.

Signature
Happy coding!
Morten Wennevik [C# MVP]
Jeff - 29 Sep 2004 15:19 GMT
Hi Morten,
When I try your tip, I am unable to see any difference.
This may be due to the fact my button background color is blue.
Thanks for giving me something to try.
Regards, Jeff
Sijin Joseph - 29 Sep 2004 17:58 GMT
You can look at themed buttons from the genghis project
http://www.sellsbrothers.com/tools/genghis
Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
> Hi,
>
[quoted text clipped - 8 lines]
>
> Thanks, Jeff