-
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
-
11
说明: VB 仿Office 2007 Ribbon风格控件(VB imitation Office 2007 Ribbon style controls)
- 2013-07-24 13:41:05下载
- 积分:1
-
CTsignalSample
说明: 信号卷积的simulink实现,界面简单易懂,通过simulink来实现卷积更加直观方便(Convolution use Simulink )
- 2011-03-25 18:06:59下载
- 积分:1
-
mbrowsedlg
使用SetWindowLong改变窗口的缺省窗口处理函数,从而建立可以显示不同颜色列表的程序(use SetWindowLong to change the default window to window handling functions, establish can show different colors scheduling procedures)
- 2006-07-17 11:13:46下载
- 积分:1
-
linjiequ
使用类编程实现临界区,VC++网络编程,使用VC6.0编译器实现(Use class programming critical, VC++ network programming, using VC6.0 compiler implements)
- 2013-07-14 22:29:26下载
- 积分:1
-
gh0st-3.6sada
免杀版ghost3.6 带服务器管理 很容易免杀的 换换资源完爆360全套(dwalfnselgreg fdseres )
- 2014-09-25 21:22:55下载
- 积分:1
-
cleanvcprj
说明: 这是一个清理VC工程文件的程序,和其他类似功能的程序不一样的是它只有一个2k的
批处理。
批处理里面演示了批处理文件的一些技巧。包括文件删除,自安装,导入注册表等实现
方法。
(This is a clear VC project documentation procedures, , and other similar functions of the same procedures that it is only one batch of 2k. Batch inside a batch file demonstrated some skills. Including documents deleted, since the installation, etc. into the registry method.)
- 2006-01-19 13:27:08下载
- 积分:1
-
485546
设置列表控件的显示方式,VC++精选编程源码,很好的参考资料。(Set display mode list control, VC++ programming source code, a good reference.)
- 2013-12-01 14:08:17下载
- 积分:1
-
PWM
PWM driver with own changes
- 2012-05-14 15:25:49下载
- 积分:1
-
game
说明: 实现游戏程序的源代码,运行很好,功能都已实现了。(Procedures to achieve the game)
- 2008-11-26 23:17:16下载
- 积分:1