登录
首页 » Visual C++ » B18

B18

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

  • TcpClient C#2010
    上位机与三菱PLC之间进行TCP/IP通讯(communication between PC and PLC)
    2018-01-15 15:02:05下载
    积分:1
  • myOwnServer002
    我的网络编程作业,服务器端的应用程序,与myOwnClient001一起使用(my network programming operations, the server-application procedures used together with myOwnClient001)
    2007-04-01 08:19:48下载
    积分:1
  • snmp
    利用C++实现SNMP协议,包括最常用的GET,GETNEXT操作等。(The use of C++ SNMP protocol, including the most commonly used the GET, GETNEXT operations.)
    2021-03-03 19:19:33下载
    积分:1
  • Internet文件下载
    一个文件下载软件,通过填写Internet文件的URL和本地保存路径就可以下载,并且可以显示下载速度和进度。(a download software through the Internet to fill in the URL and document preservation of the local trails can be downloaded and shows download speed and progress.)
    2005-05-17 19:06:58下载
    积分:1
  • USB-Camera
    USB摄像头在电脑上运行的工作原理详细说明(Describe USB camera running on your computer works)
    2012-11-16 18:04:01下载
    积分:1
  • 2003819926451
    包过滤路由器与包过滤防火墙具有同一功能,如2。1。1部分所述。 The packet filter rout provide the same functionality as the packet filter firewall describe in section2.1.1. 代理防火墙比包过滤器防火墙易于保持更多的上下文 The proxy firewall maintain context more easily than the packet filter firewall. 防火墙计算机要求2张以太网卡,一个对外部世界的接口和一个对主POP网络的接口。 The firewall machine will require two ethernet card, one interface to the outside world and one to the master pop network. (The firewall machine will require two ethernet card, one interface to the outside world and one to the master pop network. )
    2009-10-08 17:45:44下载
    积分:1
  • ST7565-4SPI
    ST7565 4SPI.zip是一个点128*64的LCD程序,主要用于测试调试液晶显示屏(ST7565 4 spi. Zip is a point 128* 64 LCD procedures, LCD screen is mainly used for testing and debugging)
    2014-04-08 13:28:30下载
    积分:1
  • Ex_Draw
    MFC 单文档应用程序界面画图(包括擦除、随笔画等)(MFC single document drawing application program interface (including erase, essays, painting, etc.))
    2014-08-22 15:36:49下载
    积分:1
  • PCISample
    PCI驱动开发实例,基于微软最新的驱动开发系统WDF(Examples of PCI-driven development, based on Microsoft' s latest driver development system WDF)
    2010-01-28 21:54:41下载
    积分:1
  • chap1
    Visual Basic 学习的例子 Visual Basic 学习的例子(Examples of learning Visual Basic)
    2014-01-04 16:21:20下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载