登录
首页 » Visual C++ » B18

B18

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

  • vb_Auto_Update
    说明:  vb开发的自动升级程序。有自动更新,覆盖原文件等功能(vb development of the automatic upgrade process. Automatic update, overwrite the original files and other functions)
    2011-03-05 15:43:57下载
    积分:1
  • DarkShell
    DarkShell是一套远程控制DDOS攻击程序(VC++)(DarkShell DDOS attack is a remote control program (VC++))
    2011-09-19 09:31:59下载
    积分:1
  • DialogAndControl
    WTL工程项目,根据不同的控件更改鼠标的形状(According to the different control change the mouse shape-WTL)
    2011-05-19 17:16:36下载
    积分:1
  • jigh_matlhb_com
    VC具有高效率的优点,通过com接口将VC和matlab进行连接(VC has the advantages of high efficiency, through the com interface will connect VC and matlab)
    2017-07-22 04:38:08下载
    积分:1
  • 2
    假设L1 = 12345678900987654321,L2 = 9876543210。 ">
    2013-05-11 08:52:41下载
    积分:1
  • 6416198
    Similar to VB property sheet controls(Similar to the VB property sheet controls)
    2017-07-19 01:30:36下载
    积分:1
  • AArcGIS_VBAR
    ARCGis二次开发资料。在ARCGIS平台下,利用vbaa进行对arcgis软件的功能开发教程,已通过测试。 (ARCGis secondary development information. ARCGIS platform to use vbaa tutorial arcgis software feature development and has been tested.)
    2012-07-23 13:21:29下载
    积分:1
  • can-tx
    DSP28335 CAN 接收程序,肯定能用(DSP28335 CAN receiving program, and certainly can)
    2014-11-11 16:14:47下载
    积分:1
  • shelf
    此程序采用c语言进行了描述,请大家赐教啊,我会认真听取(This procedure was described using c language, please enlighten me, ah, I will listen)
    2011-10-07 19:34:34下载
    积分:1
  • AceConverter_DXF转G代码
    dxf图转G代码工件软件,dxf读取过程清晰(DXF diagram to G code workpiece software, DXF read process is clear)
    2017-07-12 14:18:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载