I have a Alertwindow with ProgressBar and no other components.
I invoke this by using “runModalLoop()”.
Alertwindow is displaying properly .But I am not able to exit from the alertwindow.
Are there any API’s like “runModalLoop” which displays the alert window and exits based on some condition.
Are you getting confused because runModalLoop() won’t return until something cancels the modal loop? If you don’t want it to actually block, then use enterModalState() rather than runModalLoop()
What the use of adding progess bar to alert window. U should use thread to increase the progress. When thread finishes its execution u can sat exit moal state