我的DrawText不好用,帮我看看为什么,应该怎么改
代码医生 2006-07-13 03:32:12 void CTest4View::OnDraw(CDC* pDC)
{
CTest4Doc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
CRect rect;
GetClientRect(&rect);
pDC->DrawText(g_strText, rect,DT_CALCRECT|DT_WORDBREAK);
}