rounded corner button

qex

Well-known member
Joined
Apr 2, 2003
Messages
78
I have been looking for a way to create rounded corner buttons for a windows forms app in vb.net and have been mostly unsuccessful to this point. I can draw a rounded corner rectangle within the client area of the button, but the client area is still a rectangle and I cant figure out either how to make the rectangle client area transparent or make the whole button a different shape.

I have been working in the onpaint side of the button control. Will this not do all that I need? Do I need to be looking at something other than the button control itself. Im not really sure where to go from here.

Thanks
 
Back
Top