Gseos.WaitDialog
Previous  Top  Next

WaitDialog(iTimeout, strText, [strTitle])

Displays a wait dialog box. The text strTitle is displayed in the title bar of the DialogBox. The text strText is displayed as the message prompt. A timeout value iTimeout specifies the timeout in seconds. The timeout is counted down and can be interrupted with the 'Skip wait' button. The 'Abort' button returns also but with a result value of IDCANCEL. If the timeout expires the function returns and the dialog box closes.

ParameterDescription     
iTimeoutThe timeout value in seconds.      
strTextThe prompt text.  
strTitle Optional. Specifies the title bar of the dialog, if not specified defaults to 'GSEOS'.     

Returns
One of the following constants depending on the user action: IDCANCEL, IDOK. If the Abort button was pressed IDCANCEL is returned, otherwise IDOK.