登录
首页 » Visual C++ » B18

B18

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

  • DataBinding
    DATABINDING 的实例,可以作为参考来做自己的实例 (Examples DATABINDING, you can do your own examples as a reference)
    2013-11-25 22:23:15下载
    积分:1
  • 使VB控件支持XP风格并需要要管理员权限运行
    使VB6的控件支持xp风格,并实现管理员权限运行!(Make VB6 control support XP style, and realize administrator privilege operation!)
    2020-06-21 08:00:02下载
    积分:1
  • TBNIZ578
    一个小巧的个人信息管理程序,很实用,vc6的源码和可执行文件,(A small, personal information management program is very practical, vc6 source code and executable file,)
    2017-07-22 12:27:26下载
    积分:1
  • WINSOCK
    利用WINSOCK在几台计算机之间互相传输屏幕图象 (WINSOCK use in several computer screen image transmission between)
    2008-04-15 16:20:24下载
    积分:1
  • 90139945
    由于传统的 COM 技术使用静态的非托管编程,net使用动态的托管编程(Because of the traditional COM technology using static unmanaged programming,.net using dynamic managed programming)
    2017-04-24 13:49:33下载
    积分:1
  • SIS
    ASP.NET关于就业系统设计的源码,很详尽,注释清晰,容易学习(Employment System)
    2013-11-10 21:05:57下载
    积分:1
  • Deal_Excel
    说明:  一个小例子 如何操作Excel 无条件添加数据(vb.net teach you how to add Excel)
    2020-06-16 23:20:01下载
    积分:1
  • simple-stack
    一个用codeblack 编写的简单地栈,在控制台下可以进行简单的增删改的操作(A written in codeblack and simply stack, console simple CRUD operations)
    2012-12-12 20:57:31下载
    积分:1
  • TCP
    基于流式套接字的TCP回射程序的客户端以及服务器(Retroreflective program based on the TCP stream socket)
    2012-12-28 15:37:39下载
    积分:1
  • Malloc_Implementaion
    详细解析MALLOC/free;New/delete内部实现机制,以及实现。(Detailed analysis MALLOC/free New/delete internal implementation mechanisms, and implementation.)
    2013-11-17 18:55:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载