登录
首页 » Visual C++ » B18

B18

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

  • SMSAlarm
    这是一个短信报警的小程序,它通过ADO操作读取发送的短信号码和内容,自动发送短信并产生日志(This is a message warning of a small program that reads through the ADO operation number and content of messages sent automatically send text messages and generate the log)
    2009-10-13 08:53:22下载
    积分:1
  • read-grade-calculate-average-grade
    可以从一个txt文件中读取出若干个学生的各科成绩,并且计算出每科的平均成绩。对学生的成绩进行排序,还可以显示出每科的最高分。并且可以生成txt文件把这些结果用储存起来。(It can read a number of students grades in all subjects a txt file, and calculate the average score for each subject. Sort on student achievement, but also can show the highest score for each subject.Besides ,it can generate txt files to store theses results.)
    2015-01-24 18:17:12下载
    积分:1
  • neural1
    VB6 類神經網路運算 針對多點輸入及多點輸出(VB6 neural MULTI INPUT/OUTPUT)
    2015-03-28 16:16:22下载
    积分:1
  • Dll-create-form
    modal form in dllDO NOT EDIT what you see in these blocks of generated code!(dll 中创建窗体,并调用 DO NOT EDIT what you see in these blocks of generated code! )
    2013-12-29 11:49:07下载
    积分:1
  • RS
    说明:  这个C++程序建立了高斯白噪声信道模型下的RS码的编码及译码算法,并且给出了其比特误码率性能。(This program has realized the RS code,the coding and decoding mode (and furthermore has simulated the ber performance of decoding ))
    2012-02-21 16:27:42下载
    积分:1
  • memcached-1.4.10-for-Window
    memcached-1.4.10 for Window
    2012-09-13 14:59:17下载
    积分:1
  • ffmpeg
    命令行下可直接运行可将WAV转成MP3等格式 ffmpeg -i a.wav a.mp3 (命令行下可直接运行可将WAV转成MP3等格式 ffmpeg-i a.wav a.mp3 )
    2015-09-05 11:15:50下载
    积分:1
  • huaweinetPDF
    华为网络工程师培训专用教程(PDF) 华为网络工程师培训专用教程(PDF) (Huawei Network Engineer Training Private Tutorial (PDF) Huawei Network Engineer Training Private Tutorial (PDF))
    2010-05-08 15:16:01下载
    积分:1
  • 带ID的lpc2368 CAN通信
    带ID的lpc2368 CAN通信,包括初始化、中端、CAN通信和串口通信(With the ID lpc2368 CAN communications, including initialization, in the end, CAN communications and serial communication)
    2020-07-03 08:40:01下载
    积分:1
  • ipman
    IP包监听程序 (IP packet sniffer)
    2020-06-26 12:40:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载