摘要:
MFC库里没有符合这个条件的控件,于是我自己写了一个,初步测试有效。注:可以设置透明背景,但还不能做到透明度设置(如50%透明度) 如果设置了背景色,就不保留透明背景 默认背景色是透明的[cpp]view plaincopy//设置背景色(若clr为CLR_NONE,则背景透明)voidSetBackgroundColor(COLORREFclr){m_clrBackground=clr;}//设置文字前景色voidSetTextColor(COLORREFclr){m_clrText=clr;}//设置文字字体voidSetFont(CStringstrFaceName,LONG... 阅读全文
posted @ 2013-10-31 00:08
DoubleLi
阅读(10748)
评论(0)
推荐(0)

浙公网安备 33010602011771号