🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting a window dimensions larger than the screen display

#1294
From: Asger Jørgensen
Date: Thu, 04 Oct 2007 16:25
20 lines
1856 bytes
Hi Mark

In article <470500be$1@newsgroups.borland.com>, "Mark Jacobs" 
<http://www.jacobsm.com/mjmsg.htm?BorlandNG> says...
> I have a chart that is produced on a form. If I want the chart to be 800 by 
> 600 pixels, I set the form to be this size, draw the chart, and then use 
> GetFormImage() to bung a bitmap of the chart into a file. The problem is that 
> the chart size is limited to the screen resolution using this technique. Is 
> there a flag or something, I can set for the Form which allows me to size it 
> past the screen dimensions?
 
It is much faster to draw on a bitmap in memory 
and then when done use BitBlt to copy the bitmap to 
canvas.
But if You put a TImage on the form and then asign
the bitmap to the Image the bitmap wil automaticly resize.
Just remember to set autosize=true on the image.

Kind regards
Asger
Technical Details
Message-ID: <MPG.216f325cb993c83a989835@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <470500be$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: Asger Jørgensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Setting a window dimensions larger than the screen display
Date: Thu, 4 Oct 2007 18:25:24 +0200
Message-ID: <MPG.216f325cb993c83a989835@newsgroups.borland.com>
References: <470500be$1@newsgroups.borland.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.213.92
X-Trace: newsgroups.borland.com 1191515117 83.73.213.92 (4 Oct 2007 09:25:17 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail