🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Screen Capture of TForm

#14194
From: Remy Lebeau (TeamB)
Date: Wed, 03 Sep 2003 23:04
20 lines
1602 bytes
"CC" <Xcurtc@tmscorp.com> wrote in message
news:3f566be9@newsgroups.borland.com...

> The HORZRES, etc gets dimensions of physical screen ,
> not the width of my device context. If i could figure out how
> to get dimension of the window itself (not the screen) my
> problem would be fixed.

TForm has its own Width and Height properties for that.  If you want to do
it in just API calls, then look at GetWindowRect() instead.


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID: <3f567358$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f56694f$1@newsgroups.borland.com> <3f566be9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a5edb576acfde612
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-03 16:09:42 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f56694f$1@newsgroups.borland.com> <3f566be9@newsgroups.borland.com>
Subject: Re: Screen Capture of TForm
Date: Wed, 3 Sep 2003 16:04:14 -0700
Lines: 22
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: 207.175.226.26
Message-ID: <3f567358$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062630232 207.175.226.26 (3 Sep 2003 16:03:52 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail