MFC对话框打印及预览功能完美版

上传者: zipper9527 | 上传时间: 2019-12-21 18:58:52 | 文件大小: 151KB | 文件类型: rar
花了一个星期,研究了网上大量的MFC对话框打印及打印预览功能的demo之后,选中了几个版本,合并修改,得到这个比较完美的版本(真心花了时间,功能上都实现了,也没有什么崩溃的问题)。其中几个打印具体内容的地方大家可以自己去实现以便应对不同的需要。我只是简单的打印了一些东西。我没有在打印内容上花心思,因为这样的东西加进来就不便于大家理解打印流程了,大家可以自己去封装一下(网上有个版本封装得很厉害,但我觉得看得太累了)。感谢大家支持。

文件下载

资源详情

[{"title":"( 25 个子文件 151KB ) MFC对话框打印及预览功能完美版","children":[{"title":"PrintTest2","children":[{"title":"stdafx.cpp <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"PrintTest2.rc <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false},{"title":"PrintTest2Dlg.cpp <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"PrintTest2.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"PrintTest2.rc2 <span style='color:#111;'> 366B </span>","children":null,"spread":false}],"spread":true},{"title":"PrintTest2.vcproj.WIN-9DM04BJT65J.Administrator.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"PrintFrame.cpp <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"printer.h <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"PrintTest2.cpp <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"PrintTest2.h <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"PrintTest2.vcproj <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"PrintFrame.h <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"printer.cpp <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 820B </span>","children":null,"spread":false},{"title":"PrintTest2Dlg.h <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"PreviewPrintView.h <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"PrintView.h <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"PreviewPrintView.cpp <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"PrintView.cpp <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false},{"title":"PrintTest2.aps <span style='color:#111;'> 102.71KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false}],"spread":false},{"title":"PrintTest2.suo <span style='color:#111;'> 79.00KB </span>","children":null,"spread":false},{"title":"PrintTest2.sln <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"Debug","children":null,"spread":false}],"spread":true}]

评论信息

  • 浪漫哈哈镜 :
    可以使用,学习一下
    2021-04-01
  • Jeffz11. :
    可以使用,学习学习
    2020-09-27
  • RenDaoYou :
    资源可以使用
    2019-10-09
  • weixin_42028702 :
    静态编译,点击&quot;预览&quot;出错。 提示:Debug Assertion Failed! \mfc\bardlg.cpp Line41
    2019-09-10
  • sinat_34891885 :
    可以编译运行。。。实现中打印预览与界面显示的数据不同。。。
    2019-07-01

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明