Add Timeout option to MessageRequester()
Posted: Tue Jan 17, 2017 2:53 am
There are some use-cases where one might wish the MessageRequester() dialog to be available only for a given number of seconds, and then close -- if it was a "yes/no" dialog, it should then have a default value returned.
For example, applications running in the background might want to popop a MessageRequester() to inform user of some changes that have occured and which might require some user interaction (eg: like firewalls notifications, and so on).
I think this option is particularly important because of the code-execution blocking nature of MessageRequester(). An optional time-out feature would grant that execution would not be stopped for more than a given time if the PC is unattended at the time the MessageRequester() is popped up.
This optional feature shouldn't break backward compatibility with codes already using MessageRequester().
For example, applications running in the background might want to popop a MessageRequester() to inform user of some changes that have occured and which might require some user interaction (eg: like firewalls notifications, and so on).
I think this option is particularly important because of the code-execution blocking nature of MessageRequester(). An optional time-out feature would grant that execution would not be stopped for more than a given time if the PC is unattended at the time the MessageRequester() is popped up.
This optional feature shouldn't break backward compatibility with codes already using MessageRequester().