This code demonstrates using the windows api to create and combine regions. The end result is a cool quick routine to shape buttons, forms, listboxes - anything with a hWnd. This code can be easily modified to create objects of any shape, the round controls in the example are just one implementation.
Inputs
A control
Side Effects
May cause a memory leak if you arnt careful with it.