Article View: borland.public.cppbuilder.nativeapi
Article #16349Re: BorderIcon Question
From: Jim
Date: Sat, 17 May 2003 09:04
Date: Sat, 17 May 2003 09:04
34 lines
2024 bytes
2024 bytes
Works perfect. Thanks very much.
Here I was looking for a complex solution, and yet it was so simple. Oh
well. Thanks again.
~ Jim
"JD" <nospam@nospam.com> wrote in message
news:3ebea26c$1@newsgroups.borland.com...
>
> "Jim" <junk1@imperialstar.com> wrote:
> > [...] Now I have each ActivePage check the WindowState to see
> > if the program has been maximized, and if so it keeps the
> > ActivePage maximized and if not it uses the original
> > predifined dimensions.
>
> It sounds as if using the forms OnResize event will work nicely
> for you. OnResize is fired after the form has been resized.
>
>
> void __fastcall TForm1::FormResize(TObject *Sender)
> {
> switch( WindowState )
> {
> case wsNormal: // set page sizes to normal sizes
> break;
> case wsMaximized: // set page sizes to maximized sizes
> break;
> }
> }
>
> ~ JD
>
Technical Details
Message-ID:
<3ec5fb25@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ebe3c36@newsgroups.borland.com> <3ebe5dda$1@newsgroups.borland.com> <3ebe8e58@newsgroups.borland.com> <3ebea26c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,75b9b16b9fc71b77 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-17 02:28:03 PST From: "Jim" <junk1@imperialstar.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ebe3c36@newsgroups.borland.com> <3ebe5dda$1@newsgroups.borland.com> <3ebe8e58@newsgroups.borland.com> <3ebea26c$1@newsgroups.borland.com> Subject: Re: BorderIcon Question Date: Sat, 17 May 2003 03:04:21 -0600 Lines: 36 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.1165 NNTP-Posting-Host: 172.196.167.156 Message-ID: <3ec5fb25@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053162277 172.196.167.156 (17 May 2003 02:04:37 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail