DrawText()函数显⽰⽂本并改变字体和颜⾊DrawText()函数显⽰⽂本并改变字体和颜⾊
ikanCDC* pDc = GetDC();bearpaw
pDc->SetTextColor(RGB(0,255,0));
pDc->DrawText("This is a test!",CRect(100,10,400,400),DT_SINGLELINE|DT_LEFT|DT_VCENTER); //显⽰⽂本CFont font;
奇迹英语7 0破解版
font.CreateFont(隐形文胸英文
50, // nHeight
0, // nWidth
0, // nEscapement
0, // nOrientation四级准考证号忘记了怎么找回
FW_NORMAL, // nWeightcornell
FALSE, // bItalic
disappointing
FALSE, // bUnderlinethicker
0, // cStrikeOut
ANSI_CHARSET, // nCharSet
OUT_DEFAULT_PRECIS, // nOutPrecision
CLIP_DEFAULT_PRECIS, // nClipPrecision
DEFAULT_QUALITY, // nQualitybach
DEFAULT_PITCH | FF_SWISS,
_T("Arial") // nPitchAndFamily Arial
);
pDc->SelectObject(&font);expensive是什么意思
pDc->SetTextColor(RGB(255,0,0));
pDc->SetBkColor(RGB(255,255,0));
pDc->DrawText("This is a 我们",CRect(100,100,400,400),DT_SINGLELINE|DT_LEFT|DT_VCENTER); //显⽰⽂本