文件名称:B18
- 所属分类:
- 其它资源
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 23.51kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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
动态地抓取应用程序的屏幕图像并将其打印。
上一个实例打印的是文档的报表,而不是当前出现在屏幕上的内容。在本例中,将实现
屏幕抓取并打印其内容。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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 77433648b18.rar 列表 B18\RES\TOOLBAR.BMP B18\RES\WZD.ICO B18\RES\WZD.RC2 B18\RES\WZDDOC.ICO B18\RES B18\WIZARD\README.WZD B18\WIZARD\WZD.DIR B18\WIZARD\WZDBTMAP.CPP B18\WIZARD\WZDBTMAP.H B18\WIZARD B18\CHILDFRM.CPP B18\CHILDFRM.H B18\MAINFRM.CPP B18\MAINFRM.H B18\RESOURCE.H B18\STDAFX.CPP B18\STDAFX.H B18\WZD.CPP B18\WZD.H B18\WZD.RC B18\WZD5.DSP B18\WZD5.DSW B18\WZD6.DSP B18\WZD6.DSW B18\WZDBTMAP.CPP B18\WZDBTMAP.H B18\WZDDOC.CPP B18\WZDDOC.H B18\WZDVIEW.CPP B18\WZDVIEW.H B18