Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要制作一个旋转三角形(或者说任何多边形)形状的按钮。任何人都可以提供任何建议吗?
查看 Win32 APICreatePolygonRgn()和SetWindowRgn()函数以创建HRGN对象并将其分配给 Button 的HWND句柄。
CreatePolygonRgn()
SetWindowRgn()
HRGN
HWND