Hi.
I am coding an application, which has a button among the other gadgets.
When the button is pressed, i call a function, which will take an amount of time (on the order of minutes).
While the function is on execution, the window is frozen, and is not refreshed until the function finishes executing.
Is there a way to refresh/redraw the window? (i might call such a function a few times while doing the function's work)
I am coding an application, which has a button among the other gadgets.
When the button is pressed, i call a function, which will take an amount of time (on the order of minutes).
While the function is on execution, the window is frozen, and is not refreshed until the function finishes executing.
Is there a way to refresh/redraw the window? (i might call such a function a few times while doing the function's work)