Home All Groups Group Topic Archive Search About

Re: Control.DrawToBitmap and Restrictions

Author
29 Mar 2006 5:07 PM
Jameson King
We know that MS has a reliable way of getting thumbnails of webpages
because of IE7.

If they are not going to include it in the dotnet framework they should
at least tell us the API call(s).

Author
30 Mar 2006 8:57 AM
CMM
I don't see the rest of the thread so I apologize if this is out of
context....
but what you're asking about isn't some big secret. The API is called
PrintWindow (in WinXP... for other OS's there are other ways) and paints an
hWnd onto a bitmap in memory.
Since most controls are really just windows and have hWnds, I can't see why
PrintWindow wouldn't work on them as well.



--
-C. Moya
www.cmoya.com
Show quoteHide quote
"Jameson King" <mrpolit***@gmail.com> wrote in message
news:1143652058.651064.167840@g10g2000cwb.googlegroups.com...
> We know that MS has a reliable way of getting thumbnails of webpages
> because of IE7.
>
> If they are not going to include it in the dotnet framework they should
> at least tell us the API call(s).
>