登录
首页 » Visual C++ » B18

B18

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

  • CalcRadius
    FLUENT和EDEM结合 快速填充,提取节点坐标,然后在EDEM填充小球(FLUENT and EDEM combination of fast filling, extraction node coordinates, then fill in EDEM pellets)
    2016-01-26 10:45:19下载
    积分:1
  • extroverted-Tamrac-version
    以前没外放的天域版本远控. 特别稀少. (Not previously extroverted Tamrac version remote control. Particularly scarce.)
    2013-09-09 02:23:06下载
    积分:1
  • DIT-RTU-80SWv1.0
    深圳东深公司的RTU软件,界面相当友好,做RTU的必看!(the RTU software of DONGSHEN company of ShenZhen city ,surface is very friendly,is nessary to people )
    2012-05-02 21:46:18下载
    积分:1
  • hpcv-water-29-oct-2010
    OSG实例,shader编程,实现简单的小溪河流定向移动(OSG , shader programming, achieve a simple directional movement of rivers )
    2020-09-13 17:27:58下载
    积分:1
  • TCPhit
    WINDOW的打孔程序源代码,还有作者的说明,不错,想做病毒、外挂的学学,教你怎么样穿透防火墙(WINDOW perforated the source code, as well as the author s note, yes, we want to do viruses, plug-in to learn, teach you how to penetrate the firewall)
    2007-11-29 16:27:01下载
    积分:1
  • S5335DK_Software_v1_2
    The PCI Local bus concept was developed to break the PC data I/O bottleneck and clearly opens the door to increasing system speed and expansion capabilities. The PCI Local bus moves high speed peripherals from the I/O bus and places them closer to the system’s processor bus, providing faster data transfers between the processor and peripherals. The PCI Local bus also addresses the industry’s need for a bus standard which is not directly dependent on the speed, size and type of system processor. It represents the first microprocessor independent bus offering performance more than adequate for the most demanding applications such as full-motion video.(The PCI Local bus concept was developed to breakthe PC data I/O bottleneck and clearly opens the doorto increasing system speed and expansion capabilities.The PCI Local bus moves high speed peripheralsfrom the I/O bus and places them closer to the system sprocessor bus, providing faster data transfersbetween the processor and peripherals. The PCI Localbus also addresses the industry s need for a bus standardwhich is not directly dependent on the speed, size and type of system processor. It represents thefirst microprocessor independent bus offering performancemore than adequate for the most demandingapplications such as full-motion video.)
    2008-01-08 10:58:20下载
    积分:1
  • ThemesVB
    You can only set the Theme programmatically in the PreInit event, but this would mean you d have to have code in every page. The master page doesn t have a PreInit event.
    2009-07-09 18:25:48下载
    积分:1
  • showBMP
    说明:  基于MFC单文档,能够在MFC中显示BMP格式图片的程序(Based on MFC single document, a program that can display BMP format pictures in MFC)
    2020-04-28 15:39:24下载
    积分:1
  • Sokkia-Total-Station-Control-Command
    索佳、拓普康全站仪串口通信控制指令,通过软件控制仪器实现联机通信与自动测量。(Total Station Control Command)
    2021-03-10 10:39:27下载
    积分:1
  • BichoHunting
    一个有趣的小游戏,基于GDI,CodeBlocks开发而成.(An interesting little game, based on GDI, CodeBlocks developed with.)
    2010-02-24 09:49:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载