dialog with timeout



_________________________________________________
|Connecting to 12.34.56.78:9012                 |
|_______________________________________________|
|                                               |
|                                               |
| [==============            (try 2/10)      ]  |  <-- progress bar
|                                               |
|                                               |
|                                       CANCEL  |
|_______________________________________________|


I'm trying to create a modal dialog with a timeout.  The interface is
connecting to a remote service.  This may fail up to ten times, each try
should be seperated by 1 second of "idleness", where idleness means
checking to see if the user has clicked the Cancel button, etc.  

How to do it?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]