Modal dialogs
-
I have an application that uses a worker thread for communication for another application. During certain process-to-process communication calls a warning dialog needs to be displayed that will not allow the user to change any onscreen controls (a modal dialog essentially). This warning dialog is opened before the communication call and closed after it, this may take 3-5 seconds. I am currently trying to use PostMessage from the worker thread back to the main thread in order to display the warning dialog. This does not completely work though. Does anyone have any suggestions on what I could try?
-
I have an application that uses a worker thread for communication for another application. During certain process-to-process communication calls a warning dialog needs to be displayed that will not allow the user to change any onscreen controls (a modal dialog essentially). This warning dialog is opened before the communication call and closed after it, this may take 3-5 seconds. I am currently trying to use PostMessage from the worker thread back to the main thread in order to display the warning dialog. This does not completely work though. Does anyone have any suggestions on what I could try?
Is this the same as: http://codeguru.earthweb.com/bbs/wt/showpost.pl?Board=vc&Number=167929