登录
首页 » Visual C++ » B18

B18

于 2007-05-19 发布 文件大小:23KB
0 277
下载积分: 1 下载次数: 117

代码说明:

  E:Visual_C__MFC扩展编程实例 例18 动态地抓取应用程序的屏幕图像并将其打印。 上一个实例打印的是文档的报表,而不是当前出现在屏幕上的内容。在本例中,将实现 屏幕抓取并打印其内容。M F C 为打印视提供了有限的支持, 但只要用M F C 在 C Vi e w : : O n D r a w ( )中所提供的设备环境,就可以绘制自己的视。在打印视的时候, M F C只需调 用具备打印机设备环境的O n D r a w ( )函数即可。但是,如果不绘制自己的视,例如,用一个或 者一个以上的控件窗口填充自己的视就不会打印任何东西。每个控件将使用自己的设备环境 将自己打印到屏幕,因此打印视的唯一途径就是抓取屏幕(拷贝其内容到一个位图对象)并将其 打印到打印机。由于该功能整个与位图相关,因此将该功能封装到了位图类中。(E : Visual_C__MFC expand programming examples cases 18 crawls dynamic application's screen images and their Print. Print example, a document is a statement, rather than the current appeared on the screen content. In this case, to achieve the screen crawls and print its contents. M F C Print, as provided limited support, but as long as M F C in C Vi e w : : O r a n D. w (), which provided the equipment environment, we can draw our own consideration. In Print, as when M F C only with the printer device called the environment O D r a n w () function can be. However, if we do not draw their attention, for example, or one with a control over their windows filled as it will not print anything. Controls will use their own equipment to their environment to Print Screen, Therefore, as Print i)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Programming-in-Visual-Basic-2008
    visual basic programming textbook
    2012-05-23 12:24:56下载
    积分:1
  • ipclient
    This is a messenger program written in VC++. This is a client program
    2009-06-15 18:13:57下载
    积分:1
  • ConvDBF
    批量将DBF文件中的数据导入到一个MDB文件中,涉及到数据库操作和VC DLG编程。(Batch data in the DBF file into an MDB file, related to the operation of the database and the VC DLG programming.)
    2013-09-27 20:40:44下载
    积分:1
  • HO
    说明:  本资料是WENCE的重要技术是不可多带的资料 希望对嵌入式技术的人员有所帮做(This information is important WENCE technology is multi-band data can not hope to embedded technology has helped the staff to do)
    2007-11-14 09:02:45下载
    积分:1
  • MFCskin
    这里包括五十几个VC++的皮肤,还有使用方法。(This file includes more than 50 VC++ skins,and the method how to use them。)
    2011-10-08 21:36:34下载
    积分:1
  • HTTPEUCPComm
    短信接口 短信接口 短信接口 短信接口 短信接口 短信接口(SMS Interface)
    2013-12-03 18:54:52下载
    积分:1
  • STKWindows-Sockets
    卫星在轨运行的可视化仿真,能够直观、逼真反映卫星的实时轨道和姿态运动。卫星工具软件包( STK)是进行卫星系统仿真和分析的重要工具,能够满足卫星二维和三维的可视化仿真要求。在深 入研究STK/Connect模块的基础上,应用WindowsSockets和多线程编程技术,开发了STK实时视景仿真驱动程序,该程序利用UDP协议接收模拟遥测计算机给出的卫星参数,通过与STK/Connect模块的通信,实时驱动STK的仿真运行,成功实现了卫星在轨运行实时视景仿真的演示效果。(STK (Satellite Too l Kit) STK/Connect)
    2020-09-21 10:57:52下载
    积分:1
  • 59564360geocom-ROBOT
    说明:  徕卡全站仪开发源码,visual basic语言编制。(Leica total station development source code)
    2019-12-30 18:56:55下载
    积分:1
  • vb模拟进调度
    说明:  vb模拟进程调度.rar 是学生学习操作系统的页面存储的课程实验习题. 做的教完善, 值得借鉴.(vb modeling process scheduling. Rar Students learn the operating system stored pages Experimental Exercise. So the perfect, is worth learning from.)
    2005-12-04 10:27:27下载
    积分:1
  • TreeEditor
    VC TreeView树控件的应用(拖放、删除、添加、重命名),精选学习源码,很好的参考资料。(Application of VC TreeView tree controls (drag and drop, add, delete, rename), select learning source code, a good reference.)
    2013-12-25 10:29:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载