C ++程序问题/帮助 [英] C++ program question/help
本文介绍了C ++程序问题/帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道编写一个能够打印网页屏幕的c ++程序有多困难.
I am wondering how hard it would be to write a c++ program that would print the screen of a web page. Just a simple program that would take a snap shot of the page.
推荐答案
从捕获浏览器窗口内容开始:
屏幕截图,带有源代码的窗口大小调整实用程序 [ http://msdn.microsoft.com/en-us/library/ms646310(VS .85).aspx [ ^ ]
将生成的图像粘贴到单个图像中.
CBitmapEx-免费的C ++位图操作类 [从战es中打印提示和技巧 [
Start of with capturing the contents of the browser window:
Screen capture, window resizing utility with source code[^]
Send page down to the browser until the captured image does not change anymore:
http://msdn.microsoft.com/en-us/library/ms646310(VS.85).aspx[^]
Stich the resulting images into a single image.
CBitmapEx - Free C++ Bitmap Manipulation Class[^] - should get you of to a fair start ...
Print the resulting image
Printing tips and tricks from the trenches[^] - good info on printing from C++
Best regards
Espen Harlinn
这篇关于C ++程序问题/帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文