登录
首页 » Visual C++ » B18

B18

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

  • niceface
    一个界面例子,设计得还不错,和大家一起分享,共同进步(Example of an interface, designed to be pretty good, and the U.S. share common progress)
    2008-05-29 19:33:39下载
    积分:1
  • vbchengxu
    VB画图程序源码,VB画图程序源码,VB画图程序源码(VB Paint program source code)
    2013-11-18 15:00:30下载
    积分:1
  • skyblue_PinTu
    使用MFC写的一个拼图游戏,可以点击浏览载入不同的图片来进行拼图,适合初学者学习MFC和游戏编程参考(Use MFC to write a jigsaw puzzle, you can click here to load different images puzzles, and games suitable for beginners to learn MFC programming reference)
    2010-06-03 16:12:39下载
    积分:1
  • weno-source-codes
    由江广山(音译)、舒其望(Jiang Guangshan & Shu Chi-Wang, JCP 126 pp202-228, 1996)等人发展的5阶有限差分WENO格式,并提供用C++语言编写的程序源码(5 order WENO SOURCE CODE)
    2011-10-19 12:30:49下载
    积分:1
  • vb
    说明:  一个用VB制作的简单的文件编辑器,可以有很多使用的小功能,适合初学者看的小代码。(VB produced a simple document editor, can have small features a lot of use, suitable for beginners to see small code )
    2014-03-25 19:39:51下载
    积分:1
  • 83314539
    说明:  实现了二进制卷积码的viterbi硬判,软判,以及穿孔卷积码(The viterbi hard, soft and perforated convolutional codes of binary convolutional codes are implemented.)
    2019-04-02 06:16:02下载
    积分:1
  • c_cPPfor-help
    关于标准c/c++的帮助文档 有一些简单的帮助文档可供参考或查询(A standard c/c++ help documentation)
    2014-06-10 19:55:10下载
    积分:1
  • boiling
    fluent沸腾代码,描述沸腾中的详细过程(fluent boiling code, the detailed description of the process of boiling)
    2013-10-02 08:00:48下载
    积分:1
  • MFC
    自己在学习过程中的一些例子的总结,比较适合初学者使用(Summary of some examples in the learning process, more suitable for beginners)
    2012-10-23 09:42:04下载
    积分:1
  • jfsms
    说明:  短信预付费平台源码,数据库基于SQLSERVER,含全套文档(The source code of the SMS prepaid platform, the database is based on SQLSERVER and contains a full set of documents)
    2020-06-27 09:25:30下载
    积分:1
  • 696518资源总数
  • 106268会员总数
  • 10今日下载