PrefAppointmentTime()

Sets the default Appointment Time options.

Token ID

AFTKN_SET_VEW or 608

Syntax

VOID PrefAppointmentTime( [ENUM ShowTimeIntervals]; 
                     [WORD StartTimeMinute]; 
                     [WORD StartTimeHour]; 
                     [WORD Interval]; 
                     [ENUM Alarm]; 
                     [WORD AlarmMinutes]; 
                     [WORD AlarmHours]; 
                     [ENUM DisplayEventType]; 
                     [WORD DefaultLengthMinutes]; 
                     [WORD DefaultLengthHours];
                     [ENUM IncludeSelf])
                     

Parameters

ShowTimeIntervals As ENUM

(Optional) Enumerated values:

  • 0 No
  • 1 Yes
StartTimeMinute As WORD

(Optional) Minute to begin day on.

StartTimeHour As WORD

(Optional) Hour to begin day on.

Interval As WORD

(Optional) Length of display time interval.

Alarm As ENUM

(Optional) Automatically turns on alarm when an appointment is accepted:

  • 0 No
  • 1 Yes
AlarmMinutes As WORD

(Optional) Minutes before appointment to sound alarm.

AlarmHours As WORD

(Optional) Hours before appointment to sound alarm.

DisplayEventType As ENUM

(Optional) Specifies how to display the appointment length:

  • 0 Duration
  • 1 EndDateAndTime
DefaultLengthMinutes As WORD

(Optional) Default length of appointment in minutes.

DefaultLengthHours As WORD

(Optional) Default length of appointment in hours.

IncludeSelf As ENUM

(Optional) Enumerated values:

  • 0 No
  • 1 Yes

See Also