登录
首页 » Visual C++ » B18

B18

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

  • CUDARayTracing
    simple ray-tracing
    2010-06-06 02:21:01下载
    积分:1
  • nmap14(20060210)
    此程序为在vc++6.0环境下使用MapObject2.3控件开发电子地图的例子.(This procedure in vc++ 6.0 environment controls the development of electronic map MapObject2.3 example.)
    2008-06-01 21:50:32下载
    积分:1
  • zorros-software
    C++初级设计常用举例,方便初学者学习查对。如有疑问可回帖索求。(C++ primary design used for example for beginners to learn checker.)
    2013-11-04 11:11:54下载
    积分:1
  • weno-source-codes
    由江广山(音译)、舒其望(Jiang Guangshan & Shu Chi-Wang, JCP 126 pp202-228, 1996)等人发展的5阶有限差分WENO格式,并提供用C++语言编写的程序源码(5 order WENO SOURCE CODE)
    2011-10-19 12:30:49下载
    积分:1
  • ghmg
    正则式到有穷自动机 有个别软件在安装时金山毒霸会提示存在木马程序,属于误报。原因是在用(Regular style to DFA has individual software installation Jinshan drug tyrants will be prompted to exist Trojans are false positives. The reason is that the use of)
    2008-05-30 18:54:53下载
    积分:1
  • WpfApplication8
    说明:  用wpf写得一个按钮3D闪光效果 做了一些画图效果,可以参考下(wpf 3D button)
    2009-07-31 10:40:13下载
    积分:1
  • AgentXDemo
    呼叫中心是IP-PBX技术与传统呼叫中心的完美融合,企业无需自己购买服务器,即可拥有专业的呼叫中心服务。它将座席分配给位于不同地点的不同企业使用,集呼叫中心、电话营销、客户关系管理、销售任务管理、短信、传真等功能于一体,为现代化企业量身打造的综合通信服务平台。(Call center is IP-PBX technology and the perfect fusion of traditional call center, companies do not need to buy their own servers, you can have a professional call center service. It will seat assigned to different enterprises located in different places to use, set the call center, telephone marketing, customer relationship management, task management, SMS, fax marketing and other functions in one, integrated communication service platform for modern enterprises tailored.)
    2014-06-18 23:00:03下载
    积分:1
  • ExocortexDSP_v1.2
    A C# open source library that provides fully featured (1) single and double precision complex number data types, (2) complex number math library, (3) 1D, 2D and 3D complex and real symmetric fast Fourier transforms, and (4) highly accurate statistical routines.
    2008-02-20 12:32:03下载
    积分:1
  • calculator
    基于单片机的简易计算器,4键输入,完成加减乘除(calculator)
    2009-11-06 21:17:20下载
    积分:1
  • parallel_debug1
    VC语言编写的并口通信例程,可以对初学者有帮助的小程序。(VC language of parallel communication routines, can be helpful for beginners small procedures.)
    2005-07-08 17:22:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载