怎样在运行时改变控件的颜色 可以用brush,也可用SetPixel(xixi~~~~),在OnCtrlColor函数中自行该代码。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 改变控件文字的颜色和字体可以在CDialog::OnCtrlColor()里更改,但控件的背景颜色就要对控件写派生类了 查阅msdn在一篇称为"sequently asked question"的article中有这个问题的解决方法 据我所知,以上方法可以在控件生成时改变背景色,但不能在运行时改变颜色.msdn在一篇称为"sequently asked question"的artical是关于SQL SERVER的. lhchl(lhhcl):在::onpaint()中吗?不知您有否source code?或那里可以找到source code? 我到是做过,可我现在是在网吧上的网。你到http://www.chinaithero.com/dev/vccool/button.htm去看看吧,也许有答案。 lhchl(lhhcl):my e-mail is : [email protected]pls contact me if you have the source code or other idea want to share with me.tks you too!http://www.chinaithero.com/dev/vccool/button.htm中无要找的对象. http://www.csdn.net/develop/read_article.asp?id=9603 jiangsheng(蒋晟):谢谢! 那正是我想要的! GetTokenByName~~~谁知道这个函数的头文件是哪个 这么简单的虚拟桌面代码,怎么没成功? 如何屏蔽CRichEditCtrl的拷贝,粘贴,剪切事件? 请问关于Formview中的TabCtrl的使用?在线等 高分求一个网络编程思路 如何把一个字符串数组内容一一对应的复制到另一个字符串数组里? 关于多线程。。 我想将一个类的成员函数,赋值一个函数指针,怎么编译不通过。请教 如何把内码(16进制)转化为汉字 各位,谁要SMTP/POP3的类库,还后全部的原代码(支持完全的MIME规范) 如何与CView通讯? 在vc中怎样发送e_mail.
在一篇称为"sequently asked question"的article中有这个问题的解决方法
msdn
在一篇称为"sequently asked question"的artical是关于SQL SERVER的.
在::onpaint()中吗?
不知您有否source code?
或那里可以找到source code?
my e-mail is : [email protected]
pls contact me if you have the source code or other idea want to share with me.
tks
http://www.chinaithero.com/dev/vccool/button.htm中无要找的对象.
谢谢! 那正是我想要的!