登录
首页 » Visual C++ » B18

B18

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

  • Multisim_10
    multisim软件是画图仿真领域的龙头,而这个文件是个好的开始(the multisim Software is drawing the the simulation field' s leading, and this document is a good start)
    2013-03-18 22:57:33下载
    积分:1
  • MFCLibrary1
    msgina代码修改此代码生成dll替换winxp中的msgina.dll可以设置xp登录方式(Msgina code to modify this code to generate DLL to replace msgina. DLL in WinXP can set the way of XP login)
    2019-03-28 14:01:40下载
    积分:1
  • stkVC
    说明:  用VC++调用STK,完成超强的卫星分析功能和动画运行。(Using VC++ call STK, super satellites to complete analysis and animation to run.)
    2020-09-21 14:17:56下载
    积分:1
  • Debug
    程序调试方法,查找debug所在,精品文档,共享一下(code Debug)
    2013-11-11 10:23:02下载
    积分:1
  • driver
    在制作驱动软件的过程中,运用此程序可以用来截取包(Driver software in the production process, the use of this procedure can be used to intercept packets)
    2010-12-22 09:44:40下载
    积分:1
  • Demo
    vc如何动态添加和删除菜单项的源码,可以参考下(vc how to dynamically add and remove menu items of the source code, can refer to)
    2011-06-10 15:13:16下载
    积分:1
  • EPLaZPLPrinter_WT
    Bebra EPL、ZPL条码打印,可根据模板生成指令,可使用USB打印端口,ReadMe中给出了详细说明 (Bebra EPL ZPL Barcode Printing, can generate command by label template, can use USB port, it s detailed describe in readme.txt.)
    2014-01-01 08:48:15下载
    积分:1
  • mod_demod
    三种模拟调制与解调的算法,三种模拟调制为:AM,FM,SSB(Three types of analog modulation and demodulation algorithms, three types of analog modulation for: AM, FM, SSB)
    2003-01-12 14:07:01下载
    积分:1
  • COMTestCode
    vc环境下COM组件编程小例子,一个文件生成COM组件,另一个文件调用该COM组件。(COM component programming small example, a file generated COM component vc environment, another file to call the COM component.)
    2013-12-19 16:21:03下载
    积分:1
  • resiveDlg
    c++聊天软件客户端代码,可以实现和双方互相聊天,必须客户端后启动(c++ chat software client code)
    2013-08-11 19:10:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载