Thread View: borland.public.delphi.winforms.controls.using
3 messages
3 total messages
Started by Kendrick
Wed, 30 Jan 2008 23:47
MDI Application
Author: Kendrick
Date: Wed, 30 Jan 2008 23:47
Date: Wed, 30 Jan 2008 23:47
5 lines
1324 bytes
1324 bytes
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?
Re: MDI Application
Author: Marc Rohloff [TeamB]
Date: Thu, 31 Jan 2008 01:47
Date: Thu, 31 Jan 2008 01:47
16 lines
1791 bytes
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
Re: MDI Application
Author: Kendrick
Date: Thu, 31 Jan 2008 20:58
Date: Thu, 31 Jan 2008 20:58
21 lines
1957 bytes
1957 bytes
Thanks Marc- not what I wanted to hear but kind of what I expected... "Marc Rohloff [TeamB]" <marc@nospam.marcrohloff.com> wrote in message news:c1x1r79xcitp.dlg@dlg.marcrohloff.com... > 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads