1. 首页
  2. 编程语言
  3. C++ 
  4. VC在CStatic控件绘图
用户评论
码姐姐匿名网友 2019-05-02 14:19:45

写得不是太全,但还是给个好评价void CScada_totalacpower::OnPaint() { CPaintDC dc(this); // device context for painting // TODO: Add your message handler code here DrawGND();//(&dc, rc) ; DrawValue_totalacpower();//(&dc);//因为背景是不动的,所以不用刷新// // Do not call CStatic::OnPaint() for painting messages

码姐姐匿名网友 2019-05-02 14:19:45

运行编译不了