设置背景色dc.SetBkColor(RGB(0,255,0)); 设置文本颜色dc.SetTextColor(RGB(0,0,255)); 画文本dc.DrawText(str,&rc,DT_CENTER);
-
-
长文本自动换行dc.DrawText(str, &rect, DT_LEFT | DT_TOP |DT_WORDBREAK | DT_EDITCONTROL, m_pfSongTi);函数原型:int DrawTe...
设置背景色dc.SetBkColor(RGB(0,255,0)); 设置文本颜色dc.SetTextColor(RGB(0,0,255)); 画文本dc.DrawText(str,&rc,DT_CENTER);
长文本自动换行dc.DrawText(str, &rect, DT_LEFT | DT_TOP |DT_WORDBREAK | DT_EDITCONTROL, m_pfSongTi);函数原型:int DrawTe...