dialog box displaying not responding
Hi all,
I have made a dialog based application using vc2008....
I have made a worker thread inside that application and that worker thread is calling various other global functions....
But my problem is whenever the task is running and i click the dialog box anywhere on dialog box it starts displaying not responding...
I am not getting how to remove this problem....
can anybody help me in this.....
Re: dialog box displaying not responding
Well, hard to say anything without seeing the code.
Re: dialog box displaying not responding
Break in with the debugger and see what it's doing. Most likely it's a tight loop, but without code, who knows.
Re: dialog box displaying not responding
Yes, post the worker thread code pieces or you will enjoy yourself the tightest loop I have ever seen
-Kim Tu
Re: dialog box displaying not responding
It seems an infinite loop is triggered, and your app get stucked in it being unable to respond or elaborate any windows message...
Try check if you entered some code in OnPaint(), or on Handlers related to mouse events.