Multithreaded MDI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to create a Multithreaded MDI application. I have to put a video display control on each ChildWindow that needs to run in a separate thread

I can't spawn each MDI window in a new thread, because of the parent thread exception
Any solutions

Thanks

BOb
 
Hi,


coder483975 said:
I need to create a Multithreaded MDI application. I have to put a video
display control on each ChildWindow that needs to run in a separate thread.
I can't spawn each MDI window in a new thread, because of the parent thread exception.
Any solutions?

You shouldn't touch visual controls in non-UI thread.
Rather, create childs from within main thread and let te child spawn
background thread.
 
Back
Top