🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #445

Re: Why is MDI Parent's Controls always on top of MDI child?

#445
From: Peter Jones
Date: Sun, 23 Oct 2005 03:06
32 lines
1605 bytes
"Marc Rohloff [TeamB]" <"on request"> wrote:
>This is the way MDI works. Most people recommend against using it
>since it is so quirky. Even Microsoft Office no longer uses it.
>
>If you want a custom background then get an instance of the MDIClient
>class, something like:
>
>  Control c;
>  MdiClient mc;
>
>  foreach c in Controls 
>  {
>    mc := c as MdiClient; 
>    if (mc != null) 
>    {
>      //Do stuff with MdiClient mc
>      return;
>    }
>  }
>  
>For example:
>  mc.BackColor = 
>or  
>  mc.BackgroundImage =   

Hi Marc,

Thank you very much for your suggestion. I will try it and see.

Regards,
Peter
Technical Details
Message-ID: <435afe35$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43591430$1@newsgroups.borland.com> <pgkr2u5hk241$.dlg@marcrohloff.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,d518cff07d88933a
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Peter Jones" <peter@hotmail.com>
Sender: "Peter Jones" <peter@hotmail.com>
Reply-To: "Peter Jones" <peter@hotmail.com>
Subject: Re: Why is MDI Parent's Controls always on top of MDI child?
Newsgroups: borland.public.csharpbuilder.language.csharp
X-User-Info: 65.95.151.124     
References: <43591430$1@newsgroups.borland.com> <pgkr2u5hk241$.dlg@marcrohloff.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <435afe35$1@newsgroups.borland.com>
Date: 22 Oct 2005 20:06:29 -0700
X-Trace: newsgroups.borland.com 1130036789 207.105.83.66 (22 Oct 2005 20:06:29 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail