The code is written in MATLAB and will popup only when working on MATLAB applications.
A warning dialog is displayed with a flashing exclamation mark.
The dialog is terminated automatically with the default reply, if the user does not press a button in a specified period of time.
This can be useful e.g. for functions, which are checked with automated tests, because the dialog does not block the execution completely.
Here are some key features of "AutoWarnDlg":
· Move button focus with the keyboard.
· Copy warning message to the clipboard.
· Flashing icon.
· Text wrapping can be controlled.
· Works even when called from a callback with 'Interruptible' property set to 'off'.
Requirements:
· MATLAB 7.8 or higher