Link to home
Start Free TrialLog in
Avatar of watersco
watersco

asked on

Capturing a thumbnail from Internet Explorer

Hi,

I'd like to make thumbnail image of the page that is displayed in an Internet Explorer window. I suspect that this may be possible by using the CppWebBrowser control, but I don't want to have to load the same page again. i.e. I want to capture the thumbnail from a running iexplorer.exe application, not from a browser within my application.

Any ideas?

Thanks,

Chris.
Avatar of DaFox
DaFox

Hi Chris.

If InternetExplorer is always the topmost window this shouldn't be a problem -> GetDC(FindWindowEx(FindWindowEx(FindWindow('IEFrame', nil), 0, 'Shell DocObject View', nil), 0, 'Internet Explorer_Server', nil));
If the IE window is minimized, overlapped, ... you have to do some bad hacks, I guess...

Markus

PS: I don't know of an IE interface for capturing the web content displayed in IE. :(
ASKER CERTIFIED SOLUTION
Avatar of Wax0r
Wax0r

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of watersco

ASKER

This technique works well to capture the window. I would still like to find a better way to capture the content without needing to bring the window to the front. Some programs seem to be able to capture from a window that is hidden.

Any ideas?

Thanks,

Chris.
You can do that if use a TWebBrowser.