登录
首页 » Visual C++ » B18

B18

于 2007-05-19 发布 文件大小:23KB
0 314
下载积分: 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 个回复

  • CH-6
    VC++光盘第6章 大家感兴趣可以看看啊(VC++ CD-ROM Chapter 6 we are interested can look at ah)
    2011-07-28 09:06:26下载
    积分:1
  • ADO
    Vc++中,MFC中实现数据库的实时显示以及增加和删除(To increase the database to delete in MFC)
    2012-11-05 21:15:35下载
    积分:1
  • TTurbo_QAM_2au
    Turbo编码16QAM在AWGN信道中的性能Turboo码份量码为[1,17/15],码率为1/2,采用随机交织器 (Turbo coded 16QAM in AWGN channel performance Turboo code amount of code [1, 17/15], the rate 1/2, using a random interleaver)
    2021-05-07 14:58:36下载
    积分:1
  • NotifyIcon
    非常实用的一个功能,MFC实现系统动态托盘图标(A very useful feature, MFC achieve dynamic tray icon)
    2013-11-25 17:03:33下载
    积分:1
  • WolfD3D
    D3D透视上色 可实现很多游戏的透视 狼队 火力突击 穿越火线 逆战 等等的D3D游戏(The D3D perspective color the perspective of a lot of games)
    2012-10-15 14:30:02下载
    积分:1
  • vbdecoder
    说明:  VB编写的电子工程色环电阻值计算程序,色值 3 = 倍数 色值 4 = 容限。(The color engineering resistance calculation program of electronic engineering written by VB, color value 3 = multiple color value 4 = tolerance.)
    2020-06-21 10:46:36下载
    积分:1
  • test-of-projects
    自己做的一些matlab 的三维重建的实验 里面有许多 CT图像图 感兴趣的试试 有一些代码可用 有一些还在调试中(3D visualization CT medical reconstruction)
    2011-11-10 10:33:41下载
    积分:1
  • 60nlixitong
    说明:  VC6对sqlserver数据库的添加删除查询等相关操作,代码全部在VC编译环境下运行通过。(VC6 adds and deletes queries to SQLSERVER database and other related operations. All the code runs through the VC compiler environment.)
    2019-04-26 14:48:48下载
    积分:1
  • SSHClient
    Windows系统下,SSH加密机制,用户身份认证代码,主要用于检测用户弱口令。(Windows OS,SSH encrypt,check the user s password on line.)
    2013-11-12 17:01:31下载
    积分:1
  • CH376DS1
    CH376DS1说明文档、USB开发、枚举等(CH376DS1 documentation, USB development, enumerations, etc.)
    2013-07-30 16:37:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载