Take the 2-minute tour ×  I need to make a button in the shape
of rotated triangle (or let's say any polygon). Can anyone give
any advice?  share|improve this question polygon of more than
three line segments? concave / convex polygon? self intersected
/ non sef intersected polygon? please specify more clearly... – 
OlimilOops Nov 20 '10 at 1:02 Not self intersected. Just a
simple polygon. Like quadrilateral, with sides of different
lengths and angles. –  Tofig Hasanov Nov 20 '10 at 1:14 No need
for concave also –  Tofig Hasanov Nov 20 '10 at 1:16  1 Answer 1
up vote 3 down vote accepted  Look at the Win32 API
CreatePolygonRgn() and SetWindowRgn() functions to create and
assign an HRGN object to the Button's HWND handle.
share|improve this answer This looks helpful, thanks. It doesn't
look much like a button though, more like just a colored area.
Is there a way to give it a button style (so that it has
"pressed" look, when pressed). –  Tofig Hasanov Nov 20 '10 at
1:35 @Tofig: TButton is a wrapper around the