🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting a window dimensions larger than the screen display

#1204
From: JD
Date: Sat, 06 Oct 2007 18:14
18 lines
1500 bytes
"Mark Jacobs" <mark@jacobsm.com> wrote:
>
>
> [...] anything off-screen is chopped off!

Makes sense because windows would clip that drawing in the
first place.

> I am still stumped.

Try using TWinControl::PaintTo method. Something like:

    Bmp->Canvas->Lock();
    Chart->PaintTo( Bmp->Canvas->Handle, 0, 0 );
    Bmp->Canvas->Unlock();

~ JD
Technical Details
Message-ID: <4707d08e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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>

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: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Setting a window dimensions larger than the screen display
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 207.200.116.11     
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>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4707d08e$1@newsgroups.borland.com>
Date: 6 Oct 2007 11:14:38 -0700
X-Trace: newsgroups.borland.com 1191694478 207.105.83.66 (6 Oct 2007 11:14:38 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail