Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VC 的CRichEdit

0 views
Skip to first unread message

十一月二日

unread,
Nov 19, 1999, 3:00:00 AM11/19/99
to
請問一下,我開一個CRichEdit的Project,
我想要改變文字的顏色...

CHARFORMAT cf;
cf.cbSize = sizeof(cf);
cf.dwMask = CFM_COLOR;
cf.crTextColor= RGB(0,0,255);
GetRichEditCtrl().SetCharFormat(cf);

執行上面的指令之後,不知道是那個地方出錯,顏色還是黑色的....
--
* Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>

0 new messages