登录
首页 » Visual C++ » B18

B18

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

  • chatmad
    chatmad 聊天狂工具源码,适合WindowSocket编程的朋友,你懂的。(chatmad chat mad tool for source code, suitable for WindowSocket programmed friends, you know.)
    2012-06-07 20:42:47下载
    积分:1
  • IP
    说明:  IP 流量包抓包分析 能实现简单的监控IP 流量的功能(IP traffic packet capture analysis to achieve a simple monitoring IP traffic)
    2012-05-17 10:06:43下载
    积分:1
  • 串口实现双机互联
    一个简单的串口实现双机互联,,比较实用,有兴趣可以(a simple dual-serial connectivity, and more practical, interested can s)
    2005-05-19 16:57:35下载
    积分:1
  • CMyMCICD
    vc——创建基于MCI的CD音频处理类——CMyMCICD(vc- created based on the MCI CD audio processing class- CMyMCICD)
    2011-07-24 18:58:58下载
    积分:1
  • openrave-master
    openrave是一个开源的机器人开发平台,可以上面进行机器人的运动规划。(Openrave is an open source robot development platform, which can be used for robot motion planning.)
    2017-06-23 11:34:17下载
    积分:1
  • drawwindow_src
    应用程序向导已为您创建了这个 DrawWindow 应用程序。(Application Wizard has been created for you this DrawWindow application.)
    2008-05-30 17:28:17下载
    积分:1
  • PlayerVideo
    应用Vc中的Active movie控件制作简单的播放器,能够控制播放.可以播放Avi格式的视频,以及大部分的音频文件(Application of Vc in the Active movie control to create a simple player that can control the playback, adjust the volume, can play Avi video format, and most of the audio file)
    2011-06-27 07:51:52下载
    积分:1
  • Wavelet-Transform
    基于TMS320C5502的小波变换程序,代码简洁,适合作于学习DSP开发的学习参考程序(TMS320C5502-based wavelet transform procedures, the code is simple and suitable for the development of learning to learn DSP reference program)
    2013-07-13 21:35:12下载
    积分:1
  • RFIDPrint
    说明:  RFID打印机程序 可以实现条码的打印和写入数据(RFID printers can achieve barcode printing and writing data)
    2008-10-09 10:30:58下载
    积分:1
  • proj
    设置地图投影的小程序,学习GIS编程有用(A simple program for setting GIS map projections, good for study map projection)
    2017-01-26 08:26:33下载
    积分:1
  • 696522资源总数
  • 104033会员总数
  • 52今日下载