关于DrawText的疑问
的有关信息介绍如下:下面代码测试没有问题
CDC *dc=GetWindowDC();
CString str;
str=_T("1234567");
CRect rect;
rect.left = 100;
rect.top = 100;
rect.right = 200;
rect.bottom = 200;
CRect rect2(100,80,200,200);
dc->DrawText(str,rect,DT_LEFT);
dc->DrawText(str,rect2,DT_LEFT);