Article View: borland.public.cppbuilder.nativeapi
Article #16437Re: Screenshots of all visible windows
From: nicolasr
Date: Tue, 13 May 2003 07:51
Date: Tue, 13 May 2003 07:51
20 lines
1926 bytes
1926 bytes
Hi JD, > Are you aware that Alt+Shift+PrintScreen copies the current > window to the clipboard? Then all you need do is paste the > clipboard contents into your favorite paint program. yes I am, but this is a project where several programs are automated. The screenshots must be taken for logging purposes. Nobody sits in front of the computer. I guess I could of course simulate a user pressing Alt+Shift+PrintScreen but that doesn't seem to be the major problem. The current state of the computer, before taking the screenshots, is completely unknown. It's unknown what window is in the foreground, whether its blocking, which app crashed etc.. So I thought it would be more comfortable if I simply could tell a window 'draw into this bitmap' instead of switching each window to foreground and taking 'screenshots'. With Alt+Shift+PrintScreen I also had to bring the windows to the foreground first. thanks for the input, Nick
Technical Details
Message-ID:
<3ec0a3d6@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ec00770@newsgroups.borland.com> <3ec06796$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,fb8f026eb987f526 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-13 00:56:05 PST From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ec00770@newsgroups.borland.com> <3ec06796$1@newsgroups.borland.com> Subject: Re: Screenshots of all visible windows Date: Tue, 13 May 2003 09:51:18 +0200 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 80.133.163.224 Message-ID: <3ec0a3d6@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052812246 80.133.163.224 (13 May 2003 00:50:46 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail