登录
首页 » Visual C++ » B18

B18

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

  • barcode
    39条码的生成dll,生成的条码保持在数组里(the dll of creating barcode 39)
    2012-06-18 10:15:22下载
    积分:1
  • RFIDPrint
    说明:  RFID打印机程序 可以实现条码的打印和写入数据(RFID printers can achieve barcode printing and writing data)
    2008-10-09 10:30:58下载
    积分:1
  • kongjianfenxishili
    mapgis二次开发空间分析员程序代码可供二次开发人员参考(MAPGIS secondary development of space analyst program code for the secondary development of reference)
    2007-11-27 00:28:55下载
    积分:1
  • DSP
    DSP书籍,我老师自己写的,很实用,这本书是老师在常年的教学中逐步积累的,(A book about DSP,)
    2012-04-29 10:16:37下载
    积分:1
  • waiguaicodes
    几十个外挂源码集合,绝对是学习外挂的好参考,超级酷酷酷!(dozens external source pool is definitely a good learning external reference, the super grumbling but Cool!)
    2020-06-26 08:00:02下载
    积分:1
  • MAppStart
    MIL Application Start
    2011-05-25 15:16:24下载
    积分:1
  • vlcnetworkPlayer
    基于vlc库做的媒体播放器,功能如下: 播放视频或音乐文件,包括网络媒体文件 媒体控制包括播放,暂停,停止,音量调节,视频文件还包括全屏操作。 注意:要运行此程序还必须要有vlc0.9.9a版本库!(Based on vlc media player library to do, features are as follows: Play a video or music files, including network media control media files, including play, pause, stop, volume adjustment, video file also includes full screen action. Note: To run this program also must have vlc0.9.9a version of the library!)
    2010-07-27 15:28:51下载
    积分:1
  • [Visual.C_NET-HIGH-PROGRAM
    这是关于VC方面的网络编程资料,需要你仔细学习才能有效果,需要有一定的这方面的基础知识才可以(This is the information on the VC network programming aspects, you need to learn in order to have the effect carefully, you need to have some basic knowledge in this area can only be)
    2013-12-01 20:24:17下载
    积分:1
  • String
    自己实现字符串类,包括字符串的符号重载功能等,适合于C++初学者学习字符串的结构及C++的封装。(Achieve their own string class, including overloaded function symbol string, etc., suitable for beginners to learn the structure and C++ C++ package string.)
    2014-09-07 14:48:44下载
    积分:1
  • NXGJ
    公交的定票系统,可以选站名,路线还有其他一些功能(ABOUT BUS)
    2013-09-08 12:56:22下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载