-
B18
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)
- 2007-05-19 19:40:37下载
- 积分:1
-
eBilling-Source-Code
e billing system written in visual basic
- 2015-11-05 23:41:39下载
- 积分:1
-
NS
基于元胞自动机的交通流模型 ns模型 C++(ns model, C++)
- 2014-02-07 14:57:32下载
- 积分:1
-
VB 例程序讲解
说明: VB 例程序讲解
、局域网聊天程序
二、可以换肤的窗体
三、richtext实现的文本编辑器
四、用OLE实现文件拖放
五、窗体卸载时弹出确认对话框
六、让控件大小随窗体改变而改变
七、拖动无标题栏窗体
八、在打开文件对话框中选择多文件
(VB procedures on cases, two LAN chat program, the Eurocargo Form 3, the realization richtext text editor 4, OLE files with drag-and-drop 5, Form unloading pop confirmation dialog box six, with the size controls Form change of seven, dragging Untitled Form 8 column, in fighting to open a file selection dialog many documents)
- 2005-12-08 17:04:27下载
- 积分:1
-
485546
设置列表控件的显示方式,VC++精选编程源码,很好的参考资料。(Set display mode list control, VC++ programming source code, a good reference.)
- 2013-12-01 14:08:17下载
- 积分:1
-
VB.NETUpdate
说明: 开发环境:VB.NET
文件在线更新升级,结合XML语言,不过有点简陋,请大家下载自已完善(development environment : VB.NET documents online updates, and XML language, but a bit shabby, please download own sound)
- 2020-08-28 15:38:12下载
- 积分:1
-
K3BOSSeorderTwoDev
金蝶K3 BOS销售出库单审核反写接口,中间层二次开发,先在二次开发模板中插入记录(t_ThirdPartyComponent)
(failed to translate)
- 2013-05-02 11:13:57下载
- 积分:1
-
onvif-discovery_cs
onvif协议 源代码 实例 vc++ discovery_cs(onvif protocol source code examples vc++ discovery_cs)
- 2014-04-11 19:51:38下载
- 积分:1
-
VB-Code
以 Visual Basic 作为开发工具,Access 作为后台数据库,这是经典的单机版数据库管理信息系统的开发组合。包括10个不同的实例供大家学习。(Visual Basic as a development tool, Access as the backend , which is the development of a combination of classic stand-alone management information system. Including 10 different instances for the study.)
- 2015-08-12 13:54:28下载
- 积分:1
-
Paint_program
本人编写的绘图程序,模仿了window自带的绘图程序,欢迎大家点评(I prepared the drawing process, mimics the built-in graphics window procedures, welcomed U.S. Comments)
- 2008-05-29 16:49:57下载
- 积分:1