登录
首页 » Visual C++ » B18

B18

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

  • SafetyEva
    电力系统设备安全性评估 主要针对接入分布式电源的配电网(The safety Calculation of Power system)
    2013-10-05 18:23:49下载
    积分:1
  • TimeManager
    一个集成了闹钟、秒表功能的VB.NET时间管理小程序,我觉得功能比较强大,除了秒表和闹钟功能外,还可设置时间格式、在日期中是否显示当前日期,是否标记当前日期,是否是下拉时间调整框等(An integrated alarm clock, stopwatch function VB.NET time management applet, I think the more powerful features, in addition to the stopwatch and alarm functions, you can also set the time format, whether to display the current date in the date, the current date is marked, whether it isdrop-down time to adjust box)
    2013-05-04 17:19:32下载
    积分:1
  • dotnetui
    说明:  用Visual C++ 实现的类似MSDN 2002 样的界面代码。(Using Visual C++ to achieve a similar kind of interface MSDN 2002 code.)
    2009-08-03 10:13:46下载
    积分:1
  • luaEditor
    Windows Lua编程函数安装包, 图形用户界面式的lua编程还有帮助文档(install package for lua programming)
    2014-07-22 17:15:31下载
    积分:1
  • code
    游戏编程精粹4书对应的代码,里面主要是对应书中的例子代码实现,大家分享下(Game Programming Gems 4 corresponding to the code book, which mainly corresponds to the book' s example code, share with)
    2011-07-03 19:08:10下载
    积分:1
  • ECIES
    ECIES encryption by CRYPTOPP
    2014-08-26 19:24:07下载
    积分:1
  • Clock
    VC++可切换到数字模式的圆形时钟,VC++编程学习源码,很好的参考资料。(VC++ round the clock to switch to digital mode, VC++ programming learning source, a good reference.)
    2014-02-08 17:22:58下载
    积分:1
  • vbchengxu
    VB画图程序源码,VB画图程序源码,VB画图程序源码(VB Paint program source code)
    2013-11-18 15:00:30下载
    积分:1
  • ASP.NET4
    学习ASP.NET的好书,好资料,值得收藏,下载,学习。谢谢(it is a good material for ASP.NET.)
    2014-05-28 16:00:02下载
    积分:1
  • 2006061615404613482
    这是本人经过1个月的学习编写的个人财政管理源代码,希望对大家有所帮助。(after a study prepared on the personal financial management source code, we want to help.)
    2006-06-29 00:59:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载