Quote Originally Posted by MikeAThon
Incidentally, you might be sending messages from the worker to the UI thread without realizing it, if you call fucntions like CListCtrl::InsertItem. The MFC framework for this function is a simple wrapper around SendMessage( m_hWndOfTheListControl, LVM_INSERITEM, 0, &LVITEM), which obviously sends a message.

Mike
Thank you for this explanation and I think this is my problem
I am trying to find a solution, and looking to the sample sent by Arjay

Thank you