🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14162

Re: api & Screenshots?

#14162
From: Rafael Vacas
Date: Tue, 02 Sep 2003 18:46
22 lines
1631 bytes
From Win32 SDK Reference:

(Search for keybd_event function)

" ...An application can simulate a press of the PRINTSCREEN key in order to
obtain a screen snapshot and save it to the Windows clipboard. To do this,
call keybd_event with the bVk parameter set to VK_SNAPSHOT, and the bScan
parameter set to 0 for a snapshot of the full screen or set bScan to 1 for a
snapshot of the active window... "

"CC" <Xcurtc@tmscorp.com> wrote in message
news:3f549e70$1@newsgroups.borland.com...
> Greetings Builders!
>
> I thinkI have come across api's in the past that would allow you to get a
> bitmap of a window on the screen (probably given a window handle, etc).
>
> Does anyone know of the api(s) to do such a thing?
> Thanks
> CurtC
>
>
Technical Details
Message-ID: <3f54e5fd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f549e70$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,63984f9ae83df73a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-02 11:54:06 PST
From: "Rafael Vacas" <rvacas@bit7.es>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f549e70$1@newsgroups.borland.com>
Subject: Re: api & Screenshots?
Date: Tue, 2 Sep 2003 20:46:48 +0200
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 81.35.75.65
Message-ID: <3f54e5fd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062528509 81.35.75.65 (2 Sep 2003 11:48:29 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail