登录
首页 » Visual C++ » B18

B18

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

  • TravelAgency
    旅行社问题,涉及到消费者,航班,旅店等的一些相关函数,作为微软的一些教学程序。(Travel Service, involving consumers, flights, hotels, etc. a number of related functions, as Microsoft' s some teaching programs.)
    2010-12-31 17:01:50下载
    积分:1
  • An_example_of_Tetgen
    不是本人编的,转自csdndengpengyong,个人能力有限,望谅解。Tetgen是一个生成四面体网格的开源工具,本实例提供了从网上下载的开源的源码和一个简单的使用的示例,其中附带了Tetgen自带了的一个查看剖分出来的网格的工具TetView.exe,可以运行打开剖分出来的文件查看剖分的结果是否正确。(I was not prepared, carried csdndengpengyong, individual ability is limited, hope and understanding. Tetgen tetrahedral mesh generation is an open source tool, the examples provided from the Internet to download the open source code and a simple example of the use of which comes Tetgen comes out of a mesh grid view tool TetView . exe, you can run out of file viewing open split split the results are correct.)
    2021-03-14 20:49:22下载
    积分:1
  • CPPgc
    内存的分配与管理。模拟操作系统的功能,采用动态链表的方式。。。。(Memory allocation and management. Simulation of the operating system functions, the way dynamic list. . . .)
    2009-06-14 14:06:02下载
    积分:1
  • UseAdo
    在Microsoft Visual C++6.0环境下,应用ADO,编写的连接access数据库的简单程序(MFC ADO access)
    2017-05-25 08:57:06下载
    积分:1
  • GSM
    金笛短信VC动态链接库开发例程,文档,教程(VC SMS金笛development of a dynamic link library routines, documentation, tutorials)
    2009-06-23 14:59:55下载
    积分:1
  • dasm
    结合ezVidCap.ocx制作地籍档案扫描工作(Combined ezVidCap.ocx Country cadastral archives scanning)
    2015-09-21 16:00:57下载
    积分:1
  • CAPPIMod
    气象雷达处理基数据产生CAPPI产品,动态连接库加源码(VC++)(Weather radar-based data are generated CAPPI products, dynamic link library plus source code (VC++))
    2020-07-31 16:48:36下载
    积分:1
  • W5100_AN_SPI
    W5100 spi connect describe
    2013-01-31 10:59:40下载
    积分:1
  • OLE-DB-operation-database
    使用OLE DB操作数据库的方法,这是C++的源码(OLE DB operation method of the database, which is C++ source)
    2012-09-29 17:48:33下载
    积分:1
  • VB隐藏进
    隐藏程序系统进程,VB6.0代码98有效(Hidden program system process, VB6.0 code 98 is effective)
    2020-06-21 08:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载