登录
首页 » Visual C++ » B18

B18

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

  • easysort
    很有意思的分类编程,程序很简单,很适合初期使用者(very interesting classification program, procedures very simple, suitable for beginning users)
    2007-03-20 16:30:41下载
    积分:1
  • link
    vc创建超链接风格的静态控件LinkStaticDemo 的程序源码(vc create a hyperlink style static controls LinkStaticDemo the program source code)
    2011-07-03 09:57:36下载
    积分:1
  • socket
    SOCKET通信,一个服务端,一个客户端的通信。(SOCKET communications, a server, a client communication.)
    2013-11-04 16:50:40下载
    积分:1
  • GPA-Calculators
    GPA 计算器的设计,利用Visual C++设计的GPA 计算器的源代码程序(GPA calculator design, the use of Visual C++ design GPA calculator source code program)
    2014-05-11 17:13:19下载
    积分:1
  • hyperedit_demo
    multiple hyperlinks with syntax highlighting for edit control.
    2020-06-21 16:00:01下载
    积分:1
  • CSpreadSheet
    操作EXCEL的一个类 可以通过VC操作EXCEL 包括各种功能(EXCEL operation of a class can include a variety of functions VC operation EXCEL)
    2010-07-07 08:52:38下载
    积分:1
  • SRTest
    语音识别,通过说话转化为语音。适合开发语音软件(good it‘s so worth that you must have a look)
    2009-09-04 10:47:25下载
    积分:1
  • imgui-master
    图形界面引擎,非一般的实现方式。IMGUI即界面以立即呈现。(ImGui is a bloat-free graphical user interface library for C++. It outputs vertex buffers that you can render in your 3D-pipeline enabled application. It is portable, renderer agnostic and self-contained (no external dependencies). It is based on an immediate mode graphical user interface paradigm which enables you to build user interfaces with ease. )
    2016-04-12 23:02:57下载
    积分:1
  • shortest-path
    通信网络的架设问题 若要在n(≥10)个城市之间建设通信网络,只需要架设n-1条线路即可(With the Dijksra algorithm to network G from source points to the rest of the vertices of the shortest path)
    2014-01-11 23:32:27下载
    积分:1
  • uff-format
    uff文件处理,处理DASP生成的uff文档(uff file format)
    2012-11-09 22:39:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载