🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by sky Thu, 31 Jan 2008 02:36
Save Web page to image
#541
Author: sky
Date: Thu, 31 Jan 2008 02:36
8 lines
1049 bytes
hi all

I open a web page with TCppWebBrowser, is there a way to save the current 
page as a image?

Any hint will be great appreciated

sky 
Re: Save Web page to image
#543
Author: Asger Joergensen
Date: Thu, 31 Jan 2008 13:55
17 lines
1266 bytes
Hi sky 
 
 sky says:
> hi all
> 
> I open a web page with TCppWebBrowser, is there a way to save the current 
> page as a image?
> 
> Any hint will be great appreciated

You can use GetDC to get the Canvas Handle of the window
and the You can use BitBlt to copy it to a bitmap, but
You will only get the visible part of the web page.

Kind regards
Asger
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads