Rounding controls

Phylum
03-22-2004, 03:23 AM
Okay here is the situation. I have a control inherited from control. I added a feature to round the corners of the control. When you round the corners however the background color still fills the entire background effectively bleeding out of the rounded corners.

I thought I found a way around it by changing the region of the control to the graphicspath of the "rounded" control. It worked with 1 exception. The border of the control gets partially cut off and looks awful.

My question is there any other way to do this?

P.S. I tried setting the background color to transparent and made my own background color property, but alas that also caused visual problems.

Mikecrosoft
03-07-2006, 03:39 PM
the only solution its the Region with GraphicsPath

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum