I have a Main Dialog with several data members.

The situation is that I have a popup progress dialog with a cancel button and a worker thread performing the conversion.

I need to get this worker thread to read some of the data members of the overall main dialog window.

What is the simplest way of doing this?