MessageBoxTimeout()
  

Show a Message Box with a timeout, the message box closes itself after the timeout period was reached.
 

SYNTAX

MessageBoxTimeout( <cMessage>, <cTitle>, <nButtonFlag>, <nMilliSeconds> )--> nRet

RETURN

The function returns an integer value of either a MB_TIMEDOUT value (indicating the timeout period was reached and the Message Box auto
closed), or a value representing the button the user clicked.
Notice that the return value is always 1, when a message box with
only an OK button (MB_OK flag) is used.

nRet ->     1                              value if Button OK pressed
MB_TIMEDOUT
        value if timeout period was reached