🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: OnMaximize form event

#12339
From: Rodolfo Frino
Date: Thu, 11 Dec 2003 01:23
26 lines
1450 bytes
You can try this method:

void __fastcall TForm1::FormResize(TObject *Sender)
{
       if (WindowState != wsMaximized)
           // Do you processing for the maximize state here
}

You may have to filter the initial call to this event handler when the form
is
created

Rodolfo

"Nitisara das" <nitisara@mail.ru> wrote in message
news:3fd732d1@newsgroups.borland.com...
> Hello!
>
> How I can create OnMaximize form event?
> It is very strange, but it seems that it is not directly supported by
> Builder.
>
> Thank you.
> Nitisara.
>
>
Technical Details
Message-ID: <3fd7c6e5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fd732d1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,eb18963745d4727b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-10 17:39:20 PST
From: "Rodolfo Frino" <MenInBlack@nowhere.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fd732d1@newsgroups.borland.com>
Subject: Re: OnMaximize form event
Date: Thu, 11 Dec 2003 12:23:01 +1100
Lines: 28
Organization: Men In Black
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: 203.206.17.230
Message-ID: <3fd7c6e5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071105765 203.206.17.230 (10 Dec 2003 17:22:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail