|
Gents, I've created round edges on a moveable container but have a run into a little wrinkle.
How do you remove the left over bits of the original rectangle? They look like 4 pointed hats, one on each corner of that original rectangle.
I'm no GDI+ expert (obviously) but is there an easy way to remove the left over edges from a rectangle that is now a rounded rectangle?
|
|
|
|
|
How are you drawing your rectangle? There's a really useful demo here[^] that might help you out.
|
|
|
|
|
Thank you! I did read through that and I noted that it was a container in a container housing another container. I was trying to avoid adding one more container to the list if possible but if you think that's a good route, then I'm buying it!
I've got a working datagridview housed in a toolstrip though a host. It's resizeable, and rounded, and those pesky little rectangle corners show up if the background is changed...yuk!
Thanks...
|
|
|
|