Article View: borland.public.cppbuilder.nativeapi
Article #14930Re: screen capture
From: Ed Mulroy [TeamB]
Date: Mon, 28 Jul 2003 00:33
Date: Mon, 28 Jul 2003 00:33
29 lines
1974 bytes
1974 bytes
I'm going to have to bail out of this one. There seems to be a problem in
the code I posted and I'm having troubles chasing it down - I broke my
glasses. Even with the screen backed down from 1280x1024 to 800x600 I am
still have trouble reading the screen - sorry.
. Ed
> micheal davis wrote in message
> news:3f244f6b@newsgroups.borland.com...
> hi ed,
>
> thanks a lot for your example, I tried to run the code with
> the following function although it doesn't work
>
> void __fastcall TForm2::FormShow(TObject *Sender)
> {
> Graphics::TBitmap *Bitmap2 = new Graphics::TBitmap();
> Bitmap2->Handle = GetDeskBmp();
>
> Image1->Picture->Assign(Bitmap2);
> ShowMessage("done");
>
> }
>
//--------------------------------------------------------------------------
> -
>
> I used the code of yours as is, just copy and paste....so what
> I am doing wrong here !!!
Technical Details
Message-ID:
<3f246f73$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f23bee4@newsgroups.borland.com> <3f2409b9$1@newsgroups.borland.com> <3f244f6b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,3421856959936173 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-27 17:39:26 PST From: "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f23bee4@newsgroups.borland.com> <3f2409b9$1@newsgroups.borland.com> <3f244f6b@newsgroups.borland.com> Subject: Re: screen capture Date: Sun, 27 Jul 2003 20:33:36 -0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.74.175.102 Message-ID: <3f246f73$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059352435 24.74.175.102 (27 Jul 2003 17:33:55 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail