Hi Guys,

I have a property page which has a list control on it. I need to know the number of items in the list control and read the text of the items from my main dialog box, so how can I do this in a thread safe manner? For adding, removing items to the list control I send user defined messages to the property page containing the list control. So for reading the items, should I send a message back to my main dialog? Or is there any cleaner/easier way of doing this?

Thanks.