开发者

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

开发者 https://www.devze.com 2023-03-02 22:32 出处:网络
开发者_如何学运维Is there an easy way to change the shape of a button in a form?Therecould be other ways, but if you are not using WPF, you can use Images for buttons.
开发者_如何学运维

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

精彩评论

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

关注公众号