登录
首页 » Visual C++ » B18

B18

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

  • DirectshowSourceFilter
    用Directshow开发源Filter (Using Directshow Source Filter Development)
    2008-02-27 16:58:59下载
    积分:1
  • Asntpclieentg
    基于SNTP协议的时间同步客户端的c代码。其中计算传输时间偏移和同步步误差都在客户端实现。可顺利移植到DSP上,用于网络时间同步需要的系统。 (SNTP protocol, time synchronization client c code. Calculated transmission time offset with step-by-step error in the client. Can be successfully transplanted to the DSP, the need for network time synchronization system.)
    2012-10-07 00:35:24下载
    积分:1
  • 软件注册窗口切换
    软件注册窗口切换,VB6.0 源码,学习中……学习中……学习中……学习中……学习中……(Software Registration Window Switching)
    2020-06-23 16:40:01下载
    积分:1
  • calculator
    科学计算器的实现,包括常用的sin、cos、指数等,界面简单大方,代码亲自写的,很有交流学习的价值(Scientific calculator, including the commonly used sin, cos, index, the interface simple and generous, code to write, it is the exchange of learning the value of )
    2014-05-21 22:59:43下载
    积分:1
  • t(OK)
    说明:  该程序实现了图的先序、后序遍历和拓扑排序等,而且是界面输出。(the program to achieve the plan's first sequence, after the preorder and topological sorting, but it is the output interface.)
    2005-12-27 11:43:07下载
    积分:1
  • Print_calendar
    说明:  在日历中输入日期后,程序自动打印日历的年、月、日。(This program prints a calendar for a year specified int text)
    2010-03-19 11:01:56下载
    积分:1
  • cSharp2
    C#从入门到精通,这就是下半部分,大家可以自己找上半部(C# From Novice to Professional, which is the lower half, you can find yourself on the half)
    2013-12-11 11:05:13下载
    积分:1
  • ronghe-suanfa
    数据融合算法,对多数据和复杂数据处理具有较好效果,多数据采集推荐使用(Data fusion algorithm, for multi-data and complex data processing has a good effect, multi-data collection recommended)
    2017-04-30 19:52:33下载
    积分:1
  • 200682821544341218
    易语言超简单水浒Q传自动打怪 易语言超简单水浒Q传自动打怪 易语言超简单水浒Q传自动打怪 (easy-language simple Shuihu Q-automatic Daguai eas y-language simple Shuihu Q-automatic Daguai eas y-language simple Shuihu Q-automatic Daguai easy-simple language Water Margin Q-automatic Daguai)
    2021-01-28 01:28:40下载
    积分:1
  • dq_ii
    ccs中锁相环程序,欢迎大家指正,是一个定点的程序(failed to translate)
    2021-01-19 23:58:42下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载