登录
首页 » Visual C++ » B18

B18

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

  • capture-mod
    File system filter driver, registry filter driver and other kernel and user level tools for capturing user activity on a windows based computer.
    2009-10-26 05:33:41下载
    积分:1
  • UDPRecieveDLL
    UDP 接收数据类,里面有个接收UDP数据的线程。 我自己使用的,可靠的,已经编成DLL了,其中有些解析二进制流的代码,可以不看。(udp socket program , focus on recieve udp data.)
    2012-03-08 10:04:31下载
    积分:1
  • KsBinSword
    介于一些反病毒资料源码 希望大家好好看看 走过路过 请不要错过(Between some anti-virus information source hope that we have a good look, do not miss the walk passing through)
    2009-11-19 22:09:17下载
    积分:1
  • 163disk.com_CP210x_VCP_Win7
    CP210x_VCP_Win7,USB转串口驱动协议CP210X都可使用(CP210x_VCP_Win7, USB serial driver can be used protocol CP210X)
    2013-08-14 10:15:34下载
    积分:1
  • UDP-based_Sliding_Window_Protocol
    基于UDP的滑动窗口协议的设计与实现 UDP-based Sliding Window Protocol (UDP-based Sliding Window Protocol Design and Implementation of)
    2009-11-25 11:08:41下载
    积分:1
  • FileCheck
    文件监控,yong VC++ xiele (file watch!!!)
    2014-06-03 01:05:19下载
    积分:1
  • Ex_ODBC
    MFC基本实例实现连接数据库信息的录入修改删除功能(Basic examples were MFC connect to the database information input to modify delete function)
    2010-12-21 14:18:57下载
    积分:1
  • VBPPT
    为什么要学习程序设计? 从20世纪的60年代开始。一场新的信息革命悄然来临,它把人类带到信息化社会。与这个社会相应的社会技术是信息技术,它的核心是计算机技术。由于这项技术在人类历史上大大改变了人类创造物质财富和精神财富的方式、方法、过程和结果,也改变了社会结构和人类自身的生活方式、习俗等,因此引起社会各部门的重视。 (Why study programming? 60 years from the beginning of the 20th century. A quiet revolution, the advent of new information, it put into the information society of mankind. With the corresponding socio-technical society of information technology, which is the core of computer technology. Since this technology has dramatically changed human history mankind has created material wealth and spiritual wealth of ways, methods, processes and results, it has changed the social structure and way of life of human beings, customs and so on, thus causing all sectors of society attention.)
    2009-12-02 17:07:11下载
    积分:1
  • zi-xing-che-Proteus
    电动自行车仿真,可以控制速度,自行车的前进后退等功能,可以加速减速,利用proteus进行了仿真(Electric bicycle simulation, you can control the speed, bike forward and backward functions, you can speed reducer, use proteus simulation)
    2013-05-31 09:05:32下载
    积分:1
  • BlueTooth4.0
    这是蓝牙4.0的规范说明文档,对于了解4.0协议有所帮助。(This is the Bluetooth 4.0 specification document helpful for understanding the 4.0 protocol.)
    2013-10-14 21:50:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载