11-06-2017, 12:01 AM
Is it possible to use wait in conjunction with a dialog box? What I'd like to do is offer a dialog box to the user for some input, but if the users does not submit the input within 30 sec, close the box. Ideally it would be best to know nothing was submitted so default settings could be set automatically, but I can preset the defaults before offering the dialog so that's not really important.
at the moment there is this line of code which works fine, but waits until 'OK' or 'Cancel' is pressed to continue the script.
if(!ShowDialog(dd 0 &controls)) ret
Thanks for any help.
at the moment there is this line of code which works fine, but waits until 'OK' or 'Cancel' is pressed to continue the script.
if(!ShowDialog(dd 0 &controls)) ret
Thanks for any help.