Display an alert with automatic time-out.
Source position: intuition.pas line 4180
function TimedDisplayAlert( |
alertNumber: LongWord; |
const string_: pCHAR; |
height: LongWord; |
time: LongWord |
):LongBool; |
alertNumber: LongWord; |
const string_: string; |
height: LongWord; |
time: LongWord |
):Boolean; |
alertNumber |
|
The number of this alert message. The only pertinent bits of this number are the ALERT_TYPE bit(s). The rest of the number is ignored by this routine. |
string_ |
|
A pointer to the alert message string, as described above |
height |
|
Minimum display lines required for your message |
time |
|
Length of time the alert should wait for the user to respond. This time is the number of video frames the alert should remain up for. |
A LongBool value of True or False. If this is a DEADEND_ALERT, False is always the return value. If this is a RECOVERY_ALERT. The return value will be True if the user presses the left mouse button in response to your message, and False if the user presses the right hand button is response to your text, or if the alert could not be posted. If the alert times out, the return value will be False.
alertNumber |
|
The number of this alert message. The only pertinent bits of this number are the ALERT_TYPE bit(s). The rest of the number is ignored by this routine. |
string_ |
|
A pointer to the alert message string, as described above |
height |
|
Minimum display lines required for your message |
time |
|
Length of time the alert should wait for the user to respond. This time is the number of video frames the alert should remain up for. |
This function is equivalent to DisplayAlert(), except that if the user fails to respond in a given time, the alert comes down automatically.
|
Create the display of an alert message. |