|
-
October 15th, 2005, 12:21 PM
#6
Re: Waiting in GUI till thread ends
 Originally Posted by zvivered
This is what I'm trying to do in the button handler: The while (with sleep) causes the GUI to freeze.
Well, the code shows what you're currently doing, not what you want to happen. It's pretty obvious that calling Sleep() in your main thread freezes the UI.
 Originally Posted by zvivered
What should I do ?
As said above: What would you like to happen? It's still unclear how you expect your app to behave.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|