登录
首页 » Visual C++ » B18

B18

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

  • cool_toolbar&menu
    非常漂亮的自绘工具条和菜单(very beautiful painting from the toolbar and menu)
    2005-02-24 19:00:34下载
    积分:1
  • SplitterView
    分隔视图的例子。如何使用 CSplitterWnd 类。(separated View examples. How to use CSplitterWnd category.)
    2006-06-05 21:28:22下载
    积分:1
  • VisualSCL
    Visual SCL, 查看IEC61850 SCL 模型的重要工具,附带注册文件,绝对可行。(Visual SCL, see the IEC61850 SCL model, a register file, absolutely available)
    2014-07-22 09:48:45下载
    积分:1
  • OpenJPEG_PCMDC
    Fast Prediction Compensated Multiple Description Coding for JPEG 2000 The prediction compensated multiple description coding described in the following papers is implemented by modifying the OpenJPEG version of the JPEG 2000 standard: J. Wang, and J. Liang, "Filter banks for prediction-compensated multiple description coding,?submitted to IEEE Trans. Signal Processing, Sept. 2007. Revised: Aug. 2008. PDF J. Wang, and J. Liang, "Filter Banks for Prediction-Compensated Multiple Description Coding," accepted, 2008 Data Compression Conference, Snowbird, Utah, Mar. 2008. PDF http://www.ensc.sfu.ca/~jiel/
    2009-06-17 21:01:05下载
    积分:1
  • tingchechuang
    车位数由用户输入,车能够进入车场,车场满时车再进来就要进入便道,然后车离开车场时需要根据车在车场停留的时间收费,收费标准是由用户输入的,如果是车场满时出车后,便道上的车就可以进入车场。需要时要显示车场的所有车的信息状况,包括车的到来时间,进入车场的时间,所在车位置或便道位置。(Parking spaces from user input, vehicles can enter the yard, full yard car will be re-entered into the sidewalk, and then leave the car when the car needs to stay under the car in the garage to collect the tolls, charges are entered by the user, in the case of car full turnout, the pavement on the car will be able to enter the yard. Necessary to show all the car parking lots of information, including the arrival of vehicles into the yard of the time, where the location of vehicle location or shortcut.)
    2009-04-29 21:16:22下载
    积分:1
  • moses
    记录鼠标的操作,让您操作一次之后,即可操作任意次数!(Record mouse operation, allows you to manipulate time after, you can operate any number of times!)
    2010-05-22 16:01:04下载
    积分:1
  • GPS-DAQ
    GPS串口采集程序,基于VC++ MFC,非常不错的资源,采用多线程实现。(GPS serial acquisition program, based VC++ MFC, very good resources, using multithreading.)
    2016-10-18 21:46:24下载
    积分:1
  • third-chapter-of-cPP-primer
    第三章c++primer 课后习题答案,纯自己手写,欢迎大家来一起学习(Chapter III c++primer after-school exercise answers, pure own handwriting, welcome to learn together)
    2015-07-21 15:20:31下载
    积分:1
  • 1047343490992
    很精致的一个计算器,界面不错!(a very delicate calculator, interface Yes!)
    2005-03-25 09:21:13下载
    积分:1
  • 9754567
    在程序启动时弹出文件打开对话框,VC++编程精选学习源码,很好的参考资料。(In the open dialog box when the program starts up the file, select learning VC++ programming source code, a good reference.)
    2013-11-20 11:24:59下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载