登录
首页 » Visual C++ » B18

B18

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

  • hbMS
    MFC编的数据库管理系统,ODBC连接SQL。里面用了列表控件,组合框控件等。实现管理数据库,直接在列表框控件中操作即可。(MFC series database management systems, ODBC connection SQL. They spent a list control, combo box controls. Implement management database directly in the ListBox control can operate.)
    2013-06-27 11:24:35下载
    积分:1
  • Wordend
    一个类似word的排版软件一个类似word的排版软件一个类似word的排版软件
    2009-06-16 10:01:37下载
    积分:1
  • PlayerVideo
    应用Vc中的Active movie控件制作简单的播放器,能够控制播放.可以播放Avi格式的视频,以及大部分的音频文件(Application of Vc in the Active movie control to create a simple player that can control the playback, adjust the volume, can play Avi video format, and most of the audio file)
    2011-06-27 07:51:52下载
    积分:1
  • vc++2010写的txt文本信息转化为BMP图片信息
    vc++2010写的txt文本信息转化为BMP图片信息,真正地信息在形成图片数据后注入的隐藏信息,这里没有进行转多个图片,可以自己加入转多个图片。隐藏信息的格式进行变更(vc++2010 write txt text information into BMP image information, the information actually injected into the formation of image data is hidden information, there is no carry to multiple pictures, you can add yourself to multiple images. Changes the format of hidden information)
    2013-06-21 18:52:47下载
    积分:1
  • CChartDll
    一个免费的C++ windows绘图类,功能丰富,实用,界面美观,可以实现多种图形的绘制。(C++ drawing class, feature-rich, practical, and can achieve a variety of graphics rendering.)
    2013-04-11 14:18:45下载
    积分:1
  • DSP280x_headers
    dsp TMS320F2806 常用头文件(dsp TMS320F2806 common header file)
    2018-05-10 15:57:00下载
    积分:1
  • RN8209
    rn8209的驱动程序 rn8209的驱动程序(rn8209 the driver rn8209 the driver)
    2012-03-26 15:00:46下载
    积分:1
  • Regedit
    系统注册表信息(registry information system)
    2004-08-02 11:00:21下载
    积分:1
  • Classifier
    C++实现的SVM分类器,代码量稍微大了一点(Achieve C++ SVM classifier, the amount of code become slightly)
    2013-05-01 14:46:15下载
    积分:1
  • CA认证系统中的证书载体 RSA-2048-SignVerifySign
    CA认证系统中使用最广泛的证书载体是USBKEY,国内各大产商一般是使用CSP服务来提供加解密服务。这个例子是2048位的RSA数字签名与验证签名,使用厂家自带的csp来实现(若下载者没有安装任何USBKEY的驱动,可将代码中的TEST_CSP_NAME宏改为NULL 即调用微软自带的csp),编译环境VC6.0。(CA authentication system is the most widely used carrier certificate in USBKEY, the major domestic producers are generally use of CSP service to provide encryption services. This example is a 2048- bit RSA digital signature and verifying signature, use the manufacturer s own CSP to achieve (if downloaders not install any driver USBKEY, TEST_CSP_NAME macros in your code can be changed to NULL is called Microsoft s own CSP), the compiler environment VC6.0.)
    2015-07-21 21:10:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载