Board index » cppbuilder » Copying what's hidden by a window onto it's client area
AinO
![]() CBuilder Developer |
AinO
![]() CBuilder Developer |
Copying what's hidden by a window onto it's client area2004-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. |
Damon Chandler (TeamB)
![]() CBuilder Developer |
2004-10-12 12:11:51 PM
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: QuoteHi all, |
AinO
![]() CBuilder Developer |
2004-10-14 05:31:15 AM
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 ... QuoteHi AinO, {smallsort} |