登录
首页 » Visual C++ » B18

B18

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

  • 676556
    使用日期时间控件,VC++精选编程学习源码,很好的参考资料。(Use the date and time control, VC++ select learning programming source code, a good reference.)
    2013-12-01 18:01:55下载
    积分:1
  • 2DfastTriangulation
    清华大学本科生课程设计,实现平面点集的三角剖分!用外接圆测试剖分的正确性。算法执行速度较快,但存在狭长三角形!(Tsinghua University undergraduate courses designed to achieve the triangulation of the set of points in the plane! Circumcircle test the correctness of the split. Algorithms perform faster, but there is a long, narrow triangle!)
    2012-09-05 10:47:37下载
    积分:1
  • fyashLabyrinth
    迷宫的flash程序,动态演示出入栈的操作,对下正在学数据结构的同学有帮助(Labyrinth flash procedures, dynamic demonstration of the operation of stacks, for students who are learning data structure is helpful)
    2018-10-27 18:39:30下载
    积分:1
  • DAG
    绘制前驱图,主要功能有绘制结点,删除结点以及与结点相连的边,保存前驱图(failed to translate)
    2021-01-12 22:08:49下载
    积分:1
  • WINDOWS-VIA-C-CPP
    Windows核心编程(第5版) Windows Via C/C++ by Jeffrey Richter and Christophe Nasarre (Windows core programming (5th Edition) Windows Via C/C++ by Jeffrey Richter and Christophe Nasarre)
    2014-05-13 16:57:53下载
    积分:1
  • brickShader
    实现了一个简单的brick shader(umolement a simple brick shader)
    2020-10-17 20:47:27下载
    积分:1
  • GNSS Positioning(北斗)
    GPS伪距单点定位算法,自己写的。一起交流啊。(GPS pseudo range single point positioning algorithm, written by itself. Exchange it together.)
    2018-03-10 15:13:50下载
    积分:1
  • MultiThreading
    说明:  FGMultiThreading,halcon多线程实现图像抓取,图像处理 运行环境:vs2013,c++,MFC, 主要针对图像读取,二维码识别,多线程处理(FGMultiThreading, Halcon multi-threaded image capture, image processing Operating environment: vs2013, c++, MFC, Mainly for image reading, two-dimensional code recognition, multi-threading processing)
    2020-06-19 21:40:02下载
    积分:1
  • 百灵鸟
    百灵鸟档案管理系统(单机版 语言种类:简体中文 系统平台:Win 98/ME/2000/XP 软件厂商:百灵鸟软件 百灵鸟档案管理系统 单机版 软件大小:6348KB 软件类别: 国产软件 / 办公软件 软件授权: 收费软件 软件语言:简体中文 应用平台: Win2003/XP/2000/9X 更新时间: 2008-04-09(Lark Archives Management System (Stand-alone Edition) Language Categories: Simplified Chinese System Platform: Win 98/ME/2000/XP Software vendor: Lark Software Lark Archives Management System Single Edition Software size: 6348KB Software Category: Domestic Software/Office Software Software Authorization: Charging Software Software Language: Simplified Chinese Application Platform: Win2003/XP/2000/9X Update time: 2008-04-09)
    2020-06-23 23:00:01下载
    积分:1
  • OutPut1
    第4章 基本输入处理OutPut1OutPut1.rar,很不错的vc源码,希望能对大家有所帮助(Chapter 4, the basic input processing OutPut1 OutPut1.rar, very good vc source code, I hope you can help)
    2011-09-11 22:59:30下载
    积分:1
  • 696516资源总数
  • 106475会员总数
  • 7今日下载