登录
首页 » Visual C++ » B18

B18

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

  • Forward-intersection-
    摄影测量后方交会代码:输入像点坐标即可算出6个外方位元素。(Photogrammetry resection code: input like some coordinates can work out six foreign a elements. )
    2012-01-07 21:00:41下载
    积分:1
  • mp3towav
    使用libmpg123.dll, 将mp3文件解码为wav文件(Decode mp3 file to wav file by using libmpg123.dll.)
    2013-12-10 09:03:40下载
    积分:1
  • tull-doreian
    说明:  哈夫曼树编码,利用哈夫曼树算法实现对数据的压缩,很好,不错(Huffman tree coding, using Huffman tree algorithm to achieve data compression, good, good)
    2018-12-31 00:04:48下载
    积分:1
  • 123
    wa enta mal omak ya 3am de nas wesa 7a e 7alas ya 3am elamor e7na warna sho 3ol e 7alas be ro7 imak ya neka
    2015-02-23 21:03:30下载
    积分:1
  • nurbs
    关于nurbs曲线插补一个自由软件,希望有兴趣各位一起探讨(About the nurbs curve interpolation is a free software interest you to explore together)
    2012-08-31 11:30:26下载
    积分:1
  • supertimer
    能够实现毫秒级的定时器,多媒体定时器。。。。(milisecond timer)
    2009-06-15 20:51:37下载
    积分:1
  • Shellexecute
    说明:  Use the ShellExecute API function to execute a file, launch the Find utility, and perform default actions
    2019-07-11 19:25:45下载
    积分:1
  • paixu105
    有n个整数,使其前面各数顺序向后移m个位置,最后m个数变成最前面的m个数(There are n integers to the order of the preceding few months m backward shift position, the final number m into the top of the number of m)
    2016-02-27 23:43:19下载
    积分:1
  • SD-based-on-STM32
    SD程序基于STM32,底层的驱动程序已被写入,并有notes.it值得初级开发者学习。(SD program based on STM32, the underlying driver has been written, and there is a notes.it worthy of the primary developers to learn.)
    2017-02-23 16:25:28下载
    积分:1
  • log4cplus-1.1.3-rc7
    C++版本的log4cplus 喜欢的自己下载(C++ version of log4cplus, like its own download)
    2017-07-31 14:51:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载