CString str1,str2;str1="this is a richeditbox+\r\n";
str2="this is not a richeditbox+\r\n";str2+=str1;
m_RichEdit.SetWindowText(str2); //m_RichEdit是CRichEditCtrl型变量请教在输出这两行字符时如何让第一行显示红色第二行显示黑色??
str2="this is not a richeditbox+\r\n";str2+=str1;
m_RichEdit.SetWindowText(str2); //m_RichEdit是CRichEditCtrl型变量请教在输出这两行字符时如何让第一行显示红色第二行显示黑色??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货