what's the easiest way to round all the corners on my apps buttons? Is there a different button control that already has round corners?
thank
kevin
Printable View
what's the easiest way to round all the corners on my apps buttons? Is there a different button control that already has round corners?
thank
kevin
You could in a class, inherit the Button class and tweek it to draw the rounded corners.
Then you can reference it throughout your project with only making two minor changes per class/control.
When you try to draw on a button you can not use the Visual Styles since that does virtually the same thing. It
draws an overlay on the button so it would cover your graphics. The button needs to be set to standard and not system. ;)
ok......I got the make a class and inherit part, but can you point to some example of how to draw the corners and refernece it? I have looked at the sample clock program in the 101 example (cool clock man :thumb: ) but I got confused about what I was looking for.Quote:
Originally Posted by RobDog888
thanks
kevin
Check out my posts in my thread. I'm trying to draw a rounded panel. Same thing.
It turned out very nice.
thanks Rob,
I'm gonna give it a go in the morning.
kevin