I need to write an application, featuring several UI threads, each obtaining large arrays of numbers, processing them, displaying to user, and letting the user to fiddle with displayed data. All that while the main program keeps ticking.

HOW DO I CORRECTLY IMPLEMENT UI-THREADS ?

And I mean a pretty detailed answer. I wrote some worker threads, but MFC UI-threads seem to be entirely different. The literature seems to cover worker threads in detail, but no UI-threads... (probably because they're rather MFC specific - too much fuss under Win32 API)

* Can I access methods and properties of classes running as separate threads from OTHER threads ?

* How can I transfer large quantities of data in TWO directions (to the UI-thread which is not the main thread, and from it)

* What methods should I add to the CWinThread derived class?

* Can anyone throw me a sample of UI-thread multithreaded app?