I have a dialog in MFC with a CStatusBar. In a separate thread, I want to change the pane text of status bar. However MFC complains with asserts? How is it done? An example
Maybe this can help you: How to access UI elements from a thread in MFC.
I don't code C++/MFC myself but I had experienced the similar problem in C# which is known as Cross-thread GUI update.