登录
首页 » Visual C++ » B18

B18

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

  • Slider
    摆脱微软控制用VB自写滚动条模块,有需要的下。(Get rid of the Microsoft VB since writing the scroll bar control module, in need.)
    2013-08-21 10:34:01下载
    积分:1
  • MOTIONTEST(opencv)
    目前发现最好的一个移动目标检测,同时已经转换为VS2010项目,并成功测试,用USB摄像头,检测移动物体,基于opencv(Discover the best one currently moving target detection, and has been converted to a VS2010 project and successfully tested with USB camera to detect moving objects, based on opencv)
    2013-09-05 23:52:15下载
    积分:1
  • Symotion_Overview
    Symotion是一种用于运动控制的实时工业总线,基于10/100M以太网物理层,应用层使用canopen及精简协议。可应用于运动控制器,电机驱动器,PLC,编码器光栅尺与其它工业现场执行器互连。symotion总线提供安全、开放、低成本及高性能应用。(Symotion is a synchronous real-time FieldBus for Motion control . Build on a 10/100M Ethernet physical layer , and Canopen or reduced protocol Layer. interconnect between motion controllers, Motor drives, I/O modules, encoder devices and other actuators. Symotion provides Safety , Open , low cost and high performance in all applications.)
    2011-08-16 12:41:16下载
    积分:1
  • 资源查看
    类似于“资源管理器”的程序,可以查看,系统的所有资源(similar to the "resource management for" process, can view, the system of all resources)
    2005-04-23 10:14:15下载
    积分:1
  • AnimatedShortcut
    e need for bulky, cumbersome inductors. Designed for use with Koford motors with a thermistor, it shuts down the motor if the winding temperature exceeds 150C. Once the problem
    2014-02-21 02:46:46下载
    积分:1
  • ADOtest2
    MFC链接Access数据库,采用ADO数据库方式。(MFC link Access database using ADO database mode.)
    2014-04-29 20:44:13下载
    积分:1
  • UPDATED_1016615310212003
    说明:  vb内嵌汇编获取CPU ID,支持INTEL 和 AMD的CPU(vb inline assembly for CPU ID, INTEL and AMD CPU support)
    2011-03-28 17:50:17下载
    积分:1
  • CADOPIC
    数据库开发的ado连接,包括存入图像,读取图像的方法,值得入门的学习下(Ado connection database development, including into the image, read the image, it is worth to study the entry)
    2010-10-23 16:00:43下载
    积分:1
  • BMP文件转换为JPG文件的源代码
    将BMP文件转换为JPG文件的源代码,很不错的,值得学习哦(BMP file to JPG conversion of the source code, very good, oh worth learning)
    2005-05-25 14:22:45下载
    积分:1
  • 88988898
    一个GPRS开发的例子,稍做修改,就可用在自己的项目中(The development of a GPRS example, some small modifications, you can use in their own projects)
    2008-12-25 16:51:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载