Is this at runtime or design time?
I suppose at runtime the style would be up to you. You'd obviously paint the
control differently if it had the focus or not.
Ad design time the IDE should do most of the work fo you but you might also
wish to look at the designers PaintAdornments method.
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
Answer those GDI+ questions with the GDI+ FAQ
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"TT (Tom Tempelaere)" </\/_0_$P@/\/\titi____AThotmailD.Tcom/\/\@P$_0_/\/>