In the app i am currently working on, I use worker threads to perform a few functions that require a large amount of time to complete. This has always worked fine in the past, but now I need to create mfc dialogs from within the thread. This works fine as long as I do not switch focus to another app while the dialogs are being created. If I do so, an Assertation violation occurs. I figure that I need to create a user interface thread (hence the name), but i can't find any example code or documentation except Microsoft's (and we all know how great microsoft is at providing documentation). anyway I would really appreciate it if someone could point me in the right direction.
thanks, Thomas