> I'm a novice with threads, but thought I understood enough to get a simple > threaded function working. However I can only get it to work using Tk and > not win32ui. If you are trying to run this from inside Pythonwin, then you probably need to use the win32api.MessageBox function, passing 0 for the "parent window" param. The problem is likely to be that the MFC framework under Pythonwin is trying to parent the window to the main application frame, and this is a no-no in a multi-threaded application. Further, your "main processing loop" appears that it would create an unlimited number of threads, each attempting their own dialog. However, without seeing what is in the code you omitted I can not be sure. Mark. _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activepython