Board index » cppbuilder » Copying what's hidden by a window onto it's client area

Copying what's hidden by a window onto it's client area


2004-10-10 05:24:00 PM
cppbuilder60
Hi all,
I'm collecting information about how to copy all visual information
(desktop,
icons, windows, taskbar, ...) that is hidden by a form's client area onto an
image,
hosted by the form (in Win2K and XP).
Any direction or idea would be helpfull, as i even don't know of an existing
naming for the
technique(s) involved. For all clarity, i'm not asking how to work with an
image, canvas,
bitmap, but how to retrieve all this visual information (like a desktop
magnifier utility does
for example).
Thanks,
AinO.
 
 

Re:Copying what's hidden by a window onto it's client area

Hi AinO,
Because the screen is a shared surface, parts of the screen that
aren't visible are most-often not stored in memory. Because of this,
you'll need to instruct the window whose contents you want to copy to
draw itself to a bitmap that you create. AFAIK, this is fairly complex;
see www.fengyuan.com/article/wmprint.html.
Best of luck,
AinO wrote:
Quote
Hi all,

I'm collecting information about how to copy all visual information
(desktop,
icons, windows, taskbar, ...) that is hidden by a form's client area onto an
image,
hosted by the form (in Win2K and XP).
 

Re:Copying what's hidden by a window onto it's client area

thanks Damon, i really appreciate this :)
AinO.
"Damon Chandler (TeamB)" < XXXX@XXXXX.COM >
wrote in message news:416b5942$ XXXX@XXXXX.COM ...
Quote
Hi AinO,
Because the screen is a shared surface, parts of the screen that
aren't visible are most-often not stored in memory. Because of this,
you'll need to instruct the window whose contents you want to copy to
draw itself to a bitmap that you create. AFAIK, this is fairly complex;
see www.fengyuan.com/article/wmprint.html.

Best of luck,
--
Damon (TeamB)
C++Builder Developer's Journal: bcbjournal.org
BCBCAQ: caq.bcbjournal.org


AinO wrote:
>Hi all,
>
>I'm collecting information about how to copy all visual information
>(desktop,
>icons, windows, taskbar, ...) that is hidden by a form's client area
onto an
>image,
>hosted by the form (in Win2K and XP).
 

{smallsort}