如何更改工具栏上buttontext的颜色 [英] How to change the color of the buttontext on toolbar

查看:61
本文介绍了如何更改工具栏上buttontext的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用setbuttontext()在工具栏上设置按钮文字,但是它的颜色是黑色,我想改变颜色,我该怎么办?

解决方案

请参阅 WM_CTLCOLORBTN消息(Windows) [< a href =https://msdn.microsoft.com/en-us/library/windows/desktop/bb761849(v=vs.85).aspx\"target =_ blanktitle =New Window> ^ ]。

i used setbuttontext() to set button text on tool bar,but its color is black,i want to change the color,how can i do?

解决方案

See WM_CTLCOLORBTN message (Windows)[^].


这篇关于如何更改工具栏上buttontext的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆