🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: MDI Form Maximized

#8778
From: Hans Galema
Date: Tue, 14 Sep 2004 15:59
19 lines
1743 bytes
Francesco wrote:

> I've an application with a main form (fsMDIForm), a MdiChild form open
> with WindowState maximized and another MdiChild with WindowState normal.
> The problem is that when I open the 2nd form (the one in normal state)
> the first become also normal state. How can I prevent this behaviour a
> have always in "background" the maximized form?

The Multiple Document Interface is made in such a way that all fsMDIChild
forms always have the same WindowState concerning wsMaximized and wsNormal.

So you never can have one fsMDIChild that is wsNormal and another fsMDIChild
that is wsMaximized.

What you describe looks impossible for me. If there is already a fsMIDChild
with wsMaximized and you create another one then the last one will become
wsMaximised too.

Hans.
Technical Details
Message-ID: <414714c6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41470940$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,def094ac3b744ea9,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 14 Sep 2004 17:59:53 +0200
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: MDI Form Maximized
References: <41470940$1@newsgroups.borland.com>
In-Reply-To: <41470940$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <414714c6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095177414 129.125.201.248 (14 Sep 2004 08:56:54 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail