Multithreading Interface Problem

G

Guest

Hi,
I'm writing a multithreaded application that uses 2 threads: 1 for the form
and another to process some data. Before the processing thread starts, I
modify the interface to reflect its busy state. However, when I finish the
processing I can't undo the changes because 'Controls created on one thread
can't be parented on a different thread.' Does anyone know how I'd call my
finishing method on the UI thread, or get around this problem. Help would be
apreciated.
Reuben.

P.S. I use .NET Framework version 1.1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top