并在构造函数中初始化x=50;
2。添加OnTimer消息响应函数,添加代码:
CDC *pDC=GetDC();
pDC->TextOut(x,50,"good");
x++;
3。C123CView::OnTestM
相关内容
- VC 6.0新建工程后,再要新建,文件夹选项卡没有C/C++ Header File 和C++ Source File
- VC 6.0编译时总出现:fatal error RC1015: cannot open include file 'afxres.h'. 我的是windows 7家庭下
- VC 6.0编译时总出现:fatal error RC1015: cannot open include file 'afxres.h'. 我的是windows 7家庭下
- VC MFC 字符串写入txt
- vc 中的头文件相互引用的错误!
- vc 什么时候用new
- VC 和 PE 的区别是什么?
- vc 如何注册多个系统热键?