高手来答问题
出现错误!File:aflwin2.inl
line:168
void CP59View::OnTimer(UINT nIDEvent)
{
// TODO: Add your message handler code here and/or call default
m_width+=5;
CClientDC dc(this);
TEXTMETRIC tm;
dc.GetTextMetrics(&tm);
CRect rect;
rect.left=0;
rect.top=500;
rect.right=m_width;
rect.bottom=tm.tmHeight+rect.top;
dc.SetTextColor(RGB(0,255,0));
CString str;
str.LoadString(IDS_DRAW_DYC);
dc.DrawText(str,rect,DT_LEFT);
CView::OnTimer(nIDEvent);
}