开发者

How to change the shape of a button in visual c++?

开发者_如何学运维

Is there an easy way to change the shape of a button in a form?


There could be other ways, but if you are not using WPF, you can use Images for buttons.

If you are using WPF, there are lots of options you can explore.


This might be a bit old, but may point the way, look at ownerdraw properties and styles and messages. http://msdn.microsoft.com/en-us/library/ms364048(v=vs.80).aspx

As an aside why would you want to change the shape of the button. Bear in mind your users, they more than likely don't like change.


You are referring to Ownerdraw buttons. The following links shall help you.

http://www.codeproject.com/KB/buttons/roundbuttons.aspx

how to create a round/circular button in win32 API using visual c++

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜