billconan
June 15th, 2009, 11:50 PM
hello guys,
i'm writing a windows application. once the user click on a button, i will run a loop. the loop will take a long time to finish, and during the execution the program looks like dead. i want my application can still response to user input, what do i do?
thanks.
plus, i saw a warning every time i run the program saying that the program doesn't respond. everything is actually ok, i just click continue, everything will be fine. but the warning is still annoying. how should i deal with that.
the warning shows up when i debug the code. i don't know if it will still show up if i compile it as a release mode.
i'm writing a windows application. once the user click on a button, i will run a loop. the loop will take a long time to finish, and during the execution the program looks like dead. i want my application can still response to user input, what do i do?
thanks.
plus, i saw a warning every time i run the program saying that the program doesn't respond. everything is actually ok, i just click continue, everything will be fine. but the warning is still annoying. how should i deal with that.
the warning shows up when i debug the code. i don't know if it will still show up if i compile it as a release mode.