登录
首页 » Visual C++ » B18

B18

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

  • grey_edit
    输入提示,vc6.0环境下实现输入框内容提示(Enter the prompt, vc6.0 environment realize the contents of input box prompt)
    2009-03-16 13:03:02下载
    积分:1
  • (ebook---pdf)-Addison-Wesley---Extreme-Programmin
    First, XP is a programming discipline. We’ll look at a core innovation: how “test-first” changes the programming process itself. We’ll also discuss refactoring, the way XP programmers improve their code. Second, XP is a team discipline. It has evolved a number of practices that help produce a high-performing team. We’ll compare XP to alternative practices, and see some of them in action.
    2013-03-25 22:32:56下载
    积分:1
  • ruyking__specializations
    停止等待试验的源代码,用VB实现,里面有一个现成的实现工程(Stop waiting for the test source code, using VB to achieve, there is a ready-made the implementation of the project)
    2017-06-16 21:41:43下载
    积分:1
  • CWebUpdatePrj
    实现通用的程序升级功能,可以检查是否有更新,下载更新(Achieve universal upgrade feature, you can check for updates, download updates)
    2014-06-04 16:42:16下载
    积分:1
  • CCS实现ram到ram的直接内存读功能
    在CCS环境下,实现ram到ram的直接内存读功能(DMA)(In the CCS environment, the direct memory read function (DMA) from RAM to ram is realized.)
    2020-06-19 05:00:02下载
    积分:1
  • AntiVAAAAAnAwareness
    处理各种杀软查杀的库,主要反杀软的虚拟机查杀和智能查杀!(Deal with soft kill killing the library, the main anti-kill killing soft and intelligent killing virtual machine!)
    2011-01-02 20:28:24下载
    积分:1
  • carnumberdistinguish
    车牌定位算法及实现,先阈值分割,边缘提取,最后识别!(License plate location algorithm and realize, first threshold segmentation, edge extraction, the final identification!)
    2008-06-03 22:48:10下载
    积分:1
  • NEW_MAIN_CTRL
    说明:  对一些进程的简单控制,使用vs工具开发的winform程序,可供交流学习(It s a simple controller.)
    2011-04-07 16:04:00下载
    积分:1
  • network-advanced-programing
    学网络高级编程不可多得的好书,讲得很详细(High school network programming rare books, very detailed)
    2011-10-22 09:39:22下载
    积分:1
  • USB-shujucaiji
    USB数据采集系统论文-自己的毕业设计论文,花了很长时间做的,内容十分详细,包括核心代码和开发环境的设置。(USB Data Acquisition System papers-their graduation thesis design, and having spent a very long time. which is very detailed, including the core code and development environment configuration.)
    2020-06-26 06:00:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载