登录
首页 » Visual C++ » B18

B18

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

  • NJ
    实验停车场管理,用C++,在VC++6.0下运行(Parking management experiment with C++, running under VC++6.0)
    2014-01-05 22:57:20下载
    积分:1
  • FileSplit
    简单的VB文件分割、合并工具,有需要的就下载吧。(Simple VB file split, merge tool, there is a need to download it.)
    2013-08-21 10:26:16下载
    积分:1
  • 173079
    让窗体在屏幕中央,方便管理就这么回事我就编啊()
    2017-09-27 19:20:48下载
    积分:1
  • simulate-the-dynamic-process
    基于Visual 6.0C++ 的CA法,用于模拟奥氏体向铁素体的动态转变过程。(Cellular automata method for Visual based on 6.0C++, used to simulate the dynamic process of transformation from austenite to ferrite.)
    2020-06-30 23:00:02下载
    积分:1
  • MC_FOC_Drive
    FOC算法 伺服电机控制 PMSM控制 Servo控制(FOC PMSM Servo motor)
    2021-04-27 12:58:44下载
    积分:1
  • circlescan
    计算机图形学中的圆的扫描显示,逐点扫描显示一个园,用MFC编程(Computer Graphics in the scan shows a round, point by point scan revealed a park, using MFC Programming)
    2007-12-11 13:36:15下载
    积分:1
  • ManifestCreator
    Create Manifest for VB6 in code by famous VB guru Lavolpe
    2010-07-03 12:23:58下载
    积分:1
  • 针对Excel格文件操作实现
    在 Visual C++中操作Excel,对开发数据库管理系统很有意义 (read and write excel file,useful for developing database management system)
    2005-05-20 18:59:56下载
    积分:1
  • TheAlgorithmDesignManual
    关于算法设计与算法分析非常好的一本参考读物,适合于从事算法分析的人士。(Algorithm design and analysis of algorithms on a very good one for reference books, suitable for those who engaged in analysis of algorithms.)
    2009-09-27 11:54:45下载
    积分:1
  • DEM三维可视化的简单
    DEM三维可视化的简单程序,利用Open GL实现。(DEM visualization of simple procedures, the use of Open GL implementation.)
    2016-02-26 20:33:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载