Reputation: 3709
I need to make a button in the shape of rotated triangle (or let's say any polygon). Can anyone give any advice?
Upvotes: 1
Views: 674
Reputation: 597941
Look at the Win32 API CreatePolygonRgn()
and SetWindowRgn()
functions to create and assign an HRGN
object to the Button's HWND
handle.
Upvotes: 3