🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #186

Re: MDI Application

#186
From: Marc Rohloff [TeamB]
Date: Thu, 31 Jan 2008 01:47
16 lines
1791 bytes
On Wed, 30 Jan 2008 15:47:05 -0800, Kendrick wrote:

> This may be the wrong group - so ppoint me please!
> D2007. Are the child windows in a MDI in seperate threads? That is should 
> two Childre of the same class be able to operate independently and how 
> exactly do they interface with the Main Thread - or do they become the main 
> thread when they have focus?

All windows, MDI or otherwise, run in the main thread. This is the way
windows works. If you want multi-threading then you need to create
your own thread for each form and have it update the UI using the
Threads Synchronize method or some other means.

-- 
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
Technical Details
Message-ID: <c1x1r79xcitp.dlg@dlg.marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <47a10c6d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,4bef056323c12dc7
X-Google-Attributes: gid1eff29,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <marc@nospam.marcrohloff.com>
Subject: Re: MDI Application
Newsgroups: borland.public.delphi.winforms.controls.using
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <47a10c6d$1@newsgroups.borland.com>
Date: Wed, 30 Jan 2008 20:47:10 -0500
Message-ID: <c1x1r79xcitp.dlg@dlg.marcrohloff.com>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 080129-0, 01/29/2008), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.1.121
X-Trace: newsgroups.borland.com 1201744028 65.31.1.121 (30 Jan 2008 17:47:08 -0700)
Lines: 16
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail