Click to See Complete Forum and Search --> : Dialogs & Thread issues


Jae Lee
May 20th, 1999, 02:56 PM
When a dialog is instantiated by calling DoModal()does MFC spawn off a new thread to handle the dialog?

If the dialog runs from the main windows thread, then I'll run into trouble if I try to use a blocking sync function like WaitForSingleObject()while my dialog is waiting for data to come in from another thread. How do people normally handle this situation?