🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting a window dimensions larger than the screen display

#1296
From: Mark Jacobs
Date: Thu, 04 Oct 2007 16:52
26 lines
2185 bytes
"dhoke" <dhoke.nojunk@east-shore.com> wrote in message 
news:4705035c@newsgroups.borland.com...
> Sounds like your using VCL rather than native api...

Yes, this is true. TForm is the component I am trying to resize. Perhaps the 
question would be more pertinent in cppbuilder.vcl.components.using instead 
of here.

> Not clear _how_ you're putting your chart on the form...

It is a TChart that is dropped onto the form and then aligned alClient, so 
that it naturally occupies the entire form canvas, whatever the size of the 
form is.

> But, if your using a TImage(->Picture->Bitmap), try putting a TScrollBox 
> on the form, and then plop the TImage onto the ScrollBox.  I believe you 
> will be able to generate a bitmap larger than either the scrollbox, or 
> chart - subject, no doubt to available memory, and/or application address 
> space.

But, GetFormImage() won't yield a large bitmap, it will be just what of the 
form is visible on screen. I need to get the form to be bigger than the 
screen, and GetFormImage() to yield a bitmap that exceeds screen dimensions.
-- 
Mark Jacobs
www.jacobsm.com 
Technical Details
Message-ID: <47051a6f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!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>

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" <mark@jacobsm.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <470500be$1@newsgroups.borland.com> <4705035c@newsgroups.borland.com>
Subject: Re: Setting a window dimensions larger than the screen display
Date: Thu, 4 Oct 2007 17:52:58 +0100
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 195.137.123.182
Message-ID: <47051a6f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1191516783 195.137.123.182 (4 Oct 2007 09:53:03 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail