登录
首页 » Visual C++ » B18

B18

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

  • VSP_SE
    说明:  自己编写的一个VC++程序,打开可执行程序后可以读取wave文件,此时程序将在客户区绘制波形图;之后可以计算短时能量、短时过零率和自相关函数,并且在客户区依次显示函数图像。(own VC prepared by a procedure to open executable wave after reading documents, this process will draw customers District waveform diagram; after short-term energy can be calculated, short-term rates and zero autocorrelation function, District customers in the sequence of images function.)
    2006-05-14 18:53:35下载
    积分:1
  • plugin-architecture-example
    说明:  该程序介绍了如何使用插件的方式架构程序.以及程序的实现.推荐新手参考.(The program describes the way how to use the plug-in architecture programs. And program implementation. Recommend novice reference.)
    2009-08-28 09:47:43下载
    积分:1
  • Move
    这是一个模仿windows鼠标框选的程序,希望对大家有用。(This is a program that immitates the mouse selectbox.)
    2016-07-06 16:55:16下载
    积分:1
  • registry
    防WINDOWS系统注册表管理的一个VC源码(Anti-WINDOWS system registry managed by a VC-source)
    2009-06-02 22:13:25下载
    积分:1
  • Win32Application
    VC++获取到Windows开机运行的时间,不是开机时间,而是从开机后到现在的运行时间,也就是一次开机所运行的时间,如果关机了,可能就不准确了。(The VC++ get to the Windows boot running time is not boot time, but from the boot to the running time, which is the time you turn on the running time, shutdown, and may not be accurate.)
    2013-04-24 17:46:46下载
    积分:1
  • Learn-to-use-a-variety-of-bit-
    学习使用各种按位与&,或丨,取反~,异或^等的代码(Learn to use a variety of bit-)
    2014-04-29 17:50:15下载
    积分:1
  • videoplayerdxs
    VC++ 6.0源代码程序,功能是利用DirectShow播放视频文件(Use directshow to play video)
    2013-12-03 17:16:32下载
    积分:1
  • CtrlIPClt
    网络方面关于ip的得到与获取方面的代码,哈哈哈 (ip on the network and get access to the area code, Ha Ha Ha)
    2006-11-14 11:08:37下载
    积分:1
  • Vc_dc
    介绍VC绘图中的DC,适合新手参考,主要就是各种dc,父类子类什么的(vc s dc indroduction)
    2012-01-19 18:39:06下载
    积分:1
  • 24点游戏设计
    说明:  24点游戏的关键代码和流程图,适合新手进行学习(Key Codes and Flow Charts for the 24-Point Game)
    2019-01-09 08:33:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载