Show a dialog while doing a lengthy process
Posted 05 December 2012 - 15:55
But what I was hoping to do, was show a dialog with a message (Doing something, please wait...) on it, disable any buttons, and call a method that will take a while to return. Then when the method has returned, enable the buttons and/or move to the next step etc
How would I go about this? Or is there a better way to do this?
Basically I have a bunch of stuff that will take a short while to do, and want to show the user that I am doing x, y, z.
Posted 05 December 2012 - 16:58
|SdShowMsg("Doing something, please wait ...", TRUE); // TURN ON INSTALL'S STATUS MESSAGE|
// DO SOME WORK
SdShowMsg("", FALSE); // TURN OFF INSTALL'S STATUS MESSAGE
Posted 05 December 2012 - 17:16
Posted 06 December 2012 - 15:47
Edited by Taco Bell, 06 December 2012 - 16:03.
Posted 11 December 2012 - 17:40
|QUOTE (Stefan Krueger @ 2012-12-06 17:24)|
| Before SdShowMsg you may want to call |
What does this do Stefan?
Posted 12 December 2012 - 18:36
|Disables the dialog cache mechanism which normally eliminates the screen flash that appears between the display of dialogs. This screen flash is most noticeable in the title bar of setups running in window mode. Note that the dialog caching mechanism works only for dialogs that have BACK and NEXT buttons.|
Edited by Taco Bell, 12 December 2012 - 18:36.