-
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
-
SendMail199985242001
用vc实现邮件传输功能,主要采用winsock实现传输过程。有利于熟悉网络编程。(achieved using vc mail functionality, mainly winsock achieve transfer process. Help familiar with network programming.)
- 2005-07-27 19:47:56下载
- 积分:1
-
reboot
今天再次为vc++编程新手分享一个 Reboot程序源码,实现计算机关机、重启、注销功能,程序较简单那种,有兴趣的新手参考,源码完整,可用VC6.0顺利编译,运行效果请参见源码爱好者测试截图。(Today, once again sharing a Reboot vc++ programming novice program source code to achieve the computer shutdown, restart, logoff function, the program is relatively simple kind, interested novice reference, complete source code, can be used successfully VC6.0 compiler, operating results, see source enthusiasts test shots.)
- 2013-05-24 11:51:08下载
- 积分:1
-
clock
一款值得一试的还哦让姸
真的很不错呢 下载就能获取那啥了(一款牛b的不行的软件 你会佩服的 相信你 哈哈)
- 2014-07-05 23:22:38下载
- 积分:1
-
erfc_function
采用 c++编写的互补误差函数erfc,直接调用即可计算互补误差函数值(C++ prepared using the complementary error function erfc, direct calls to the complementary error function value is calculated)
- 2021-01-21 09:38:42下载
- 积分:1
-
Network-security-assessment-system
网络安全评估系统,根据评估目标和评估内容的要求构建的一组反映网络安全水平的相关指标,据以搜集评估对象的有关信息资料,反映评估对象的网络安全的基本面貌、素质和水平。(Network security assessment system)
- 2014-04-04 19:23:01下载
- 积分:1
-
89765456
使MDI子框架窗口初始时最大化或最小化,VC++精选编程学习源码,很好的参考资料。(The initial MDI child frame window is maximized or minimized, VC++ select learning programming source code, a good reference.)
- 2013-12-01 18:08:06下载
- 积分:1
-
FFT_IFFT
实现DSP傅里叶变换以及傅立叶反变换的源程序,C语言实现。(Implement DSP Fourier transform, and inverse Fourier transform of the source, C language.)
- 2016-06-08 09:28:35下载
- 积分:1
-
Beta
VC开发的一款可以通过Access的增删改查进行存取记录的笔记本(VC Deve Note ,Could Sava your technology_note)
- 2013-04-03 17:59:10下载
- 积分:1
-
TypicalListCtrl
CListCtrl类,可以改变表头的高度,也可以改变表的格式(CListCtrl class, you can change the header height, you can change the format of the table)
- 2010-01-29 18:06:23下载
- 积分:1