Article View: borland.public.cppbuilder.nativeapi
Article #17382Re: Screen capturing & saving
From: Michel Leunen
Date: Wed, 26 Mar 2003 08:05
Date: Wed, 26 Mar 2003 08:05
19 lines
1625 bytes
1625 bytes
Enrico B. wrote: > Can anybody provide me with a piece of code to do as follows: > > 1) Capture screen. > 2) Save to disk the captured screen image (in the BMP format). have a look at: http://bcbcaq.freeservers.com/bmp_form.html this function create a bitmap from a Form. Just use the SaveToFile() method of TBitmap to save the bitmap to disk. Michel -- ---------------------------------------- Michel Leunen mailto:michel@leunen.com http://www.leunen.com/cbuilder/ ----------------------------------------
Technical Details
Message-ID:
<3e815f34$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e8159b5@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,24dd1d0e2b3b47d6 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-26 00:09:19 PST Date: Wed, 26 Mar 2003 09:05:02 +0100 From: Michel Leunen <mleu@skynet.be> Organization: http://www.leunen.com/cbuilder/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Screen capturing & saving References: <3e8159b5@newsgroups.borland.com> In-Reply-To: <3e8159b5@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 217.136.234.183 Message-ID: <3e815f34$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1048665908 217.136.234.183 (26 Mar 2003 00:05:08 -0800) Lines: 20 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail