登录
首页 » Visual C++ » B18

B18

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

  • TransparentWindow
    仿Win7半透明窗口效果,vc++实现,使用的是分层窗口的方法,用算法实现阴影效果(Imitation Win7 translucent window effect vc++ to achieve using a layered window algorithm to achieve the shadow effect)
    2012-08-02 16:16:34下载
    积分:1
  • Excel 2013 Developer Documentation
    Visual Basic for OFFICE APPLICATION(Explore Excel 2013 developer resources)
    2017-09-05 10:12:10下载
    积分:1
  • bardemo
    一个类似于vc的界面源码,让vc界面开发变得简单多了.(Vc interface similar to the one source, so that vc interface development becomes much simpler.)
    2007-08-22 11:30:37下载
    积分:1
  • YouTube-Downloader
    用C#開發的YouTube Downloader,只要貼上YouTube URL,就可以把Download YouTube影片(C# development of YouTube Downloader, as long as the paste YouTube URL, you can put Download YouTube Videos)
    2013-12-01 19:53:05下载
    积分:1
  • Fnn
    Serial port Visual basic Connect continues Function
    2020-06-25 15:40:01下载
    积分:1
  • tongxunlu
    让你更好理解C++的基本内容与间接提高,并且深入领会(Make you a better understanding of C++, and indirectly enhance the basic content and in-depth understanding of)
    2011-06-06 16:52:37下载
    积分:1
  • allml
    ftp下载整个目录(ftp downloads the entire table of contents )
    2004-07-13 07:29:42下载
    积分:1
  • DXFToGCode20120923
    VC++6.0编写的CAD dxf文件直接转换为数控加工G代码程序。直接调入DXF文件,生成可用于数控加工的G代码。(Written by VC++6.0 CAD DXF files directly into G code program of CNC machining. Direct load DXF file generation, can be used for NC machining G code. )
    2020-10-28 15:19:59下载
    积分:1
  • Drawing-Panel
    初级的画板,适合C#初学者,我是在老师布置作业以后编写的,我也刚学习C#,感觉初学者可以看一下(Primary drawing board, for C# beginners, I was prepared after the teacher assignments, and I just learn C#, beginners can look at feel)
    2011-11-17 19:52:40下载
    积分:1
  • passTp
    过DNF游戏保护TP的双机调试 先加载驱动,再开启游戏,windbg不会断开,可以继续通信,调试(Over the two-machine debugging DNF game protection TP is loaded first drive, and then turn on the game, windbg will not disconnect, communication can continue debugging)
    2020-11-12 19:59:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载