🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting a window dimensions larger than the screen display

#1207
From: Mark Jacobs
Date: Mon, 08 Oct 2007 12:09
14 lines
1684 bytes
"JD" <nospam@nospam.com> wrote in message 
news:4707d08e$1@newsgroups.borland.com...
> Try using TWinControl::PaintTo method. Something like:
>
>    Bmp->Canvas->Lock();
>    Chart->PaintTo( Bmp->Canvas->Handle, 0, 0 );
>    Bmp->Canvas->Unlock();
>

That works a treat! Thanks ever so muchly. :-)
-- 
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
Technical Details
Message-ID: <470a1e0b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <470500be$1@newsgroups.borland.com> <4705035c@newsgroups.borland.com> <47051a6f@newsgroups.borland.com> <MPG.216f44f7970fe74b989836@newsgroups.borland.com> <4706249b$1@newsgroups.borland.com> <MPG.2170cc41e12c533989837@newsgroups.borland.com> <4707a985$1@newsgroups.borland.com> <4707d08e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ed0d9ed942d9e6f4
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?BorlandNG>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <470500be$1@newsgroups.borland.com> <4705035c@newsgroups.borland.com> <47051a6f@newsgroups.borland.com> <MPG.216f44f7970fe74b989836@newsgroups.borland.com> <4706249b$1@newsgroups.borland.com> <MPG.2170cc41e12c533989837@newsgroups.borland.com> <4707a985$1@newsgroups.borland.com> <4707d08e$1@newsgroups.borland.com>
Subject: Re: Setting a window dimensions larger than the screen display
Date: Mon, 8 Oct 2007 13:09:46 +0100
Lines: 15
Organization: DK Computing
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 81.144.157.8
Message-ID: <470a1e0b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1191845387 81.144.157.8 (8 Oct 2007 05:09:47 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail