登录
首页 » Visual C++ » B18

B18

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

  • froq
    比较完整的OFDM的仿真模型和源码,有比较完整的设计思路,可供学习(Relatively complete OFDM simulation model and the source code, there is a complete design ideas, to learn from)
    2017-08-13 17:19:03下载
    积分:1
  • SmallAppWiz
    Small Application Wizzard for Visual Studio 2005
    2009-05-10 04:03:28下载
    积分:1
  • LAN-monitoring-system
    局域网监控系统采用vc++6.0编写,需要oracle数据库(LAN monitoring system)
    2013-12-13 22:03:19下载
    积分:1
  • WL_IPpack02
    获得IP地址和MAC地址的对应关系网络课实验。 根据IP地址发送和接受ARP包获得对应MAC地址。(Access to correspondence between the experimental class network IP address and MAC address. Send and receive ARP packets to obtain the corresponding MAC addresses based on IP addresses.)
    2014-05-21 08:56:22下载
    积分:1
  • ADS1115
    ADS1115 源码 精炼版 ADS1115 6/5000 Yuánmǎ jīngliàn bǎn Source refined version(ADS1115 u6E90 u7801 u7CBE u70BC u7248)
    2017-05-20 15:14:35下载
    积分:1
  • baozhan
    公交车报站器的设计。提供大家学习分享,如有不好的地方请大家指出来啊,共进。(Bus stop design. Provided we learn to share, if not please point out where to, ah, together.)
    2009-06-29 09:27:57下载
    积分:1
  • ts201_MTI_MTD
    TS201上实现动目标检测和识别,编译环境是visual dsp ++(target detection and recognition)
    2020-11-18 15:49:38下载
    积分:1
  • PsSuspendThread
    内核中暂停任意线程代码,qq Protect相关(Kernel suspend any thread)
    2013-07-29 14:46:02下载
    积分:1
  • PortControl
    PortControl shematic pcb
    2014-07-14 21:54:13下载
    积分:1
  • ADOClass
    mfc下封装的一个数据库类,用ado方式调用access数据库(a class of encapsulates the database, call the access database using ado way)
    2013-12-28 23:06:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载