登录
首页 » Visual C++ » B18

B18

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

  • ReceiveMessageer
    接收系统消息不示例,可以提供初学者使用.(receive system message demon .using VC++)
    2012-12-09 18:01:17下载
    积分:1
  • EthernetOperation
    这个程序是用VC++编程操作网卡的例子,可以实现网络连接的启动,禁用等(the procedure is to operate with VC Programming Network Card example, can achieve a network connecting the start of such banned)
    2020-07-29 17:18:38下载
    积分:1
  • csXGraphTrial
    说明:  主要是实现柱状图,饼状图以及线图的控件,包括各种参数设置(is the main column, looking pie chart and the controls, including the various parameters set)
    2006-02-04 14:21:13下载
    积分:1
  • testvc++
    图形放大 图形放大 图形放大 图形放大 图形放大 图形放大 图形放大(graphics enlarge gra phics enlarge gra phics enlarge gra phics enlarge gra phics enlarge Large graphics enlarge graphics e nlarge)
    2006-07-25 23:18:26下载
    积分:1
  • 在VC++6.0中用MSComm控件,可以实现串口接
    在VC++6.0中用MSComm控件编程,可以实现串口接(used in VC 6.0 MSComm programming, serial port access can be achieved)
    2005-01-04 04:01:12下载
    积分:1
  • messge_face
    vc 制作 MSN、QQ 的消息提示窗口 - 源代码(vc making MSN, QQ messages sent to the window- source code)
    2011-07-03 08:50:27下载
    积分:1
  • PCI9054_IO_Read_Write_Operation_Use_DriverStudio
    PCI9054实现IO读写操作 非常好 PCI9054实现IO读写操作 非常好(PCI9054 IO read and write operations to achieve very good)
    2011-01-13 14:22:09下载
    积分:1
  • SimpleTetr1397162015
    Simple Tetris for my Grand Daughter Try to Hunt more than 3 Same types before they Reached the top or left more than 100 _ Have fun friends.
    2015-07-26 04:03:04下载
    积分:1
  • DlgIniTest
    由于现代软件中,很多时候需要保留一些配置信息,而ini文件就是其中的方法之一,该工程简单而详细体现了ini文件的读写调用方式(Because of modern software, often need to retain some configuration information, and the ini file is one of the ways that the project reflects the simple and detailed invocation ini file read and write)
    2013-11-03 15:52:15下载
    积分:1
  • kqglxt
    说明:  用VB编程开发的 公司考勤管理系统,各个模块划分的很全面,是一个很适用的软件系统(Programming with VB company attendance management system, breakdown of each module is a comprehensive, is a very applicable software system)
    2008-12-08 13:14:27下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载