登录
首页 » Visual C++ » B18

B18

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

  • SSCOM2.3
    串口大师的源码程序,c语言。学习串口或者是学习c都是很好的例子。(the sourcecode of the comm communication)
    2011-12-06 18:39:49下载
    积分:1
  • BridgePatternMain
    bridge pattern in c++. vs2010, vs2010
    2014-02-27 15:45:15下载
    积分:1
  • 02_EvPwm01
    EVA下面的T1PWM、T2PWM、PWM1-6均输出频率为1KHz,占空比为40 的PWM波形。 T1PWM、T2PWM、PWM1-6输出的是不对称的PWM波形.EVB下面的T3PWM、T4PWM、 PWM7-12均输出频率为1KHz,占空比为40 的PWM波形。T3PWM、T4PWM、PWM7-12 输出的是对称的PWM波形.(EVA following T1PWM, T2PWM, PWM1-6 are output frequency is 1KHz, 40 duty cycle of the PWM waveform.* T1PWM, T2PWM, PWM1-6 of the PWM output waveform is asymmetric. EVB following T3PWM, T4PWM,* PWM7-12 are the output frequency is 1KHz, 40 duty cycle of the PWM waveform. T3PWM, T4PWM, PWM7-12* The output is symmetrical PWM waveform.)
    2013-07-18 11:04:44下载
    积分:1
  • RDP
    远程桌面的RDP协议的源码,对大家很有参考作用(Remote Desktop RDP protocol source code, useful reference for everyone)
    2011-07-10 16:47:53下载
    积分:1
  • XGraph二维曲线图
    二维曲线的实现方法,用来画二维曲线 输入XY坐标即可以得到曲线图型(two-dimensional curve of the method used to draw two-dimensional curve that is the importation of XY coordinates can be curve-)
    2005-07-04 09:46:07下载
    积分:1
  • TestWincap
    利用wincap直接与网卡通讯发送数据,千兆网卡效率达到100 ,全速!!!完全自定义数据包协议传输,数据每秒钟100M字节有木有!(wincap high speed data 100 MBytes/s=1000Mbits/s)
    2015-11-12 14:08:31下载
    积分:1
  • directsound
    directsound手册.pdf 参考(DirectSound manual. pdf reference)
    2008-07-17 16:16:58下载
    积分:1
  • cPP
    很好的c++编程指导教材,使你认识到自己的编程细节问题,成为真正的编程高手!(IT is a good book which will help you improve your ability!)
    2011-09-26 22:43:53下载
    积分:1
  • mfc_ole_drawcli
    说明:  可从微软提供的sample找到这些代码 很不错的(from Microsoft to provide the sample code to find very good)
    2006-04-12 14:37:36下载
    积分:1
  • hongwai
    红外控制 51单片机开发 红外解码 以及红外控制电机的正反转(hongwai stc89c52)
    2012-07-21 10:50:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载