http://www.vb-helper.com/HowTo/shapebtn.zip

	Purpose
Make a shaped button

	Method
Use the CreatePolygonRegion API function to make a polygonal region.
Then use SetWindowRgn to make the button use the region.

Unfortunately this makes the button lose its shaded borders. My book
Custom Controls library shows how to build some shaped buttons that still
have beveled borders. For more information including a table of contents,
go to:

    http://www.vb-helper.com/ccl.htm

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
