登录
首页 » Visual C++ » B18

B18

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

  • FG12864
    LCD驱动软件,st7565r液晶显示,串行模式(LCD driver software, st7565r liquid crystal display, serial mode)
    2007-11-05 23:21:30下载
    积分:1
  • Explosion-and-Shock-Simulation
    爆炸与冲击的仿真研究 爆炸与冲击的仿真研究(Explosion and Shock Simulation Explosion and Shock Simulation )
    2011-12-18 11:14:32下载
    积分:1
  • pagewnd
    VC++调用Excel表格编辑数据的功能,一打开就显示Excel风格的表格(VC++ calling function Excel spreadsheet editing data, an open style on display Excel spreadsheet)
    2013-12-01 21:50:40下载
    积分:1
  • src_Eutron_Smartkey_3
    Source for Eutron SmartKey 3
    2015-08-18 20:37:17下载
    积分:1
  • SAE-J1978
    协议SAE1978,对编写对应程序有帮助( XIEYI SAE1978)
    2011-05-13 11:53:44下载
    积分:1
  • kongxinzitishuchu
    在开始一个路径前,先调用CDC类的成员函数BeginPath,然后调用一系列的输出函数,在完成绘制后,再调用CDC类的成员函数,在完成一个路径之后,就可以调用StrokePath来绘制该路径,这就是路径的基本用法.(at the beginning of a path, first call CDC category of members BeginPath function, then called a series of the output function, the complete mapping and then call CDC category of members function, the completion of a path, we can call StrokePath to mapping the path, This is the path the basic usage.)
    2007-07-04 17:50:26下载
    积分:1
  • alsa-lib.tar
    i8320 系统服务与组件,提取自limo操作系统内核完整源代码(i8320 system services and components extracted from the limo complete source code for the operating system kernel)
    2011-10-12 19:45:39下载
    积分:1
  • windows
    说明:  WINDOWS核心编程中文版 最经典的 呵呵 分享一下(WINDOWS core programming and classic Chinese version呵呵share)
    2008-09-28 23:51:15下载
    积分:1
  • SkinPPWTL
    SKINPPWTL静态库,正版! 原来公司买的,后来去掉了验证现在分享出来! (SKINPPWTL static library, genuine! The original company bought, and later removed to verify share out now!)
    2014-07-03 02:10:35下载
    积分:1
  • any_ptr
    说明:  一个类型安全的通用指针 智能指针的any_ptr可以指向任何类型的对象,提供类型安全的访问。(A Type-safe Generic Pointer )
    2011-02-20 22:27:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载