I am doing GUI in C++ through EzWindows.
I have a window with 3 buttons "Start", "Stop" and "Clear".
When I click on start, I will begin a for (I should use while, but I use for loop with usleep so that it won't go on forever if my stop button don't work) that will display some graphics. However, the program would not register a click while the program is running though the loop.
How do I handle this? I don't wanna post the code here as it's kinda long.
TiA
I have a window with 3 buttons "Start", "Stop" and "Clear".
When I click on start, I will begin a for (I should use while, but I use for loop with usleep so that it won't go on forever if my stop button don't work) that will display some graphics. However, the program would not register a click while the program is running though the loop.
How do I handle this? I don't wanna post the code here as it's kinda long.
TiA