VC 在CStatic控件绘图

时间:2014-11-20 09:40:28
【文件属性】:
文件名称:VC 在CStatic控件绘图
文件大小:25KB
文件格式:DOC
更新时间:2014-11-20 09:40:28
VC CStatic 绘图 这个超经典的在cstatic静态控件显示图片代码!

网友评论

  • 写得不是太全,但还是给个好评价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
  • 运行编译不了