登录
首页 » Visual C++ » B18

B18

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

  • XTab
    说明:  vb下的tab不怎么好用,这个是扩展-XTAB(tab extended-XTAB)
    2009-07-26 04:00:20下载
    积分:1
  • RTXWhitePaper-6-09
    Windows操作系统硬实时扩展软件RTX白皮书(Windows operating system RTX white paper)
    2012-01-07 23:12:25下载
    积分:1
  • serial_and_usb
    说明:  由电脑圈圈的原程序改写,使用串口3,波特率9600连接上EDNCHINa,电脑圈圈的USB开发板可以测试从串口发送到USB接收的数据,这是上位的程序,很有参考价值。下位机程序另发。(By a computer program to rewrite the original circle, use the serial port 3, connected to the 9600 baud rate EDNCHINa, the computer' s USB development board circle can test from the serial port to send data to the USB receiver, which is top of the procedure, a good reference价值. Bit machine under separate procedures.)
    2009-08-01 09:43:51下载
    积分:1
  • MicroSD
    简要介绍MicroSD卡和使用方法,希望对各位朋友有帮助(Simply discript how to use MicroSD)
    2014-09-02 01:44:19下载
    积分:1
  • Hydrological-Forecasting
    常用中长期水文预报Visual Basic 6.0 应用程序及实例(Common long-term hydrological forecasting Visual Basic 6.0 applications and examples)
    2011-04-28 10:34:00下载
    积分:1
  • code
    自己写的TMS320F28335代码,内含DA、AD、液晶驱动、峰值检测、频率采集等程序,供参考(TMS320F28335 write their own code, containing DA, AD, LCD driver, peak detection, frequency acquisition procedures for reference)
    2015-06-23 11:30:14下载
    积分:1
  • faxengine-1.0.3
    fax engine 传真引擎 relay fax 的开源项目 商业软件使用 高质量 高可靠(fax engine fax relay fax engine open source software projects using high-quality commercial high reliability)
    2005-03-21 23:10:03下载
    积分:1
  • touchScreen-driver-for-SAMSUNG-
    这是为一款手机SAMSUNG S3C2410的驱动程序,代码全开放,我相信大家看了一定会很高兴的(This is a phone SAMSUNG S3C2410 driver, the code is all open, I believe we saw will be very happy)
    2013-04-17 16:31:59下载
    积分:1
  • 8051Pproteus-27
    《单片机C语言程序设计实训100例——基于8051+Proteus仿真》案例压缩包 第 01 篇 基础部分27 TIMER0控制单只LED闪烁(" Microcontroller C Programming Language Training 100 cases- based on 8051+ Proteus simulation" case archive basis of Article 01 part 27 TIMER0 single LED flash control)
    2011-07-27 21:43:45下载
    积分:1
  • doc
    这是在下给初学者提供的一点资料,C++源代码,初学者学习特别好,在下才疏学浅,希望提供的对大家有帮助,谢谢(Visual C++)
    2015-11-17 21:59:12下载
    积分:1
  • 696516资源总数
  • 106783会员总数
  • 25今日下载