AlarmSet()

Sets an alarm that notifies a user of an appointment and optionally launches a program. The appointment must have the input focus and must be future.

Token ID

AFTKN_SET_ALARM or 595

Syntax

VOID AlarmSet(WORD HoursBefore; 
               WORD MinutesBefore 
               [ANSISTRING ProgramToLaunch])

Parameters

HoursBefore As WORD

Number of hours before the appointment to display the alarm.

MinutesBefore As WORD

Number of minutes before the appointment to display the alarm.

ProgramToLaunch As ANSISTRING

(Optional)

Remarks

This token requires an Appointment Item view to be active.