October 2001
Intermediate to advanced
704 pages
19h 33m
English
ALERT (Talt)
ALERT ID<AlertResrouceId.n>
[HELPID <HelpId.n>]
[DEFAULTBUTTON <ButtonIdx.n>]
[INFORMATION] [CONFIRMATION] [WARNING] [ERROR]
BEGIN
TITLE <Title.s>
MESSAGE <Message.ss>
BUTTONS <Button.s> ... <Button.s>
END
The DEFAULTBUTTON tag can be used to specify the
button number to select if the user switches to another application
without pressing any button in the alert. The argument is the index
of the button, where the leftmost button is at index `0’.
ALERT ID 1000
HELPID 100
DEFAULTBUTTON 1
CONFIRMATION
BEGIN
TITLE "AlarmHack"
MESSAGE "Continuing will cause you 7 years of bad luck\n" \
"Are you sure?"
BUTTONS "Ok" "Cancel"
END