把代码重新分配一下位置就行了。
在类定义里面写
const CString conStr="123456789";
CString strTemp;//绑定到edit上
在OnDraw()里面写
UpdateData(FALSE);
在OnTimer()里面写
//定时器1秒间隔
i++;
i=i%9;
strTemp=conStr.Left(i)
posted on 2004-12-14 11:16  dayouluo(.Net学生)  阅读(467)  评论(0编辑  收藏  举报