Parameter Type Description
area Longint -> hmCal area
appointment Longint-Array -> array with appointment-ids
operation Longint -> operation to apply
With the command hmCal_SELECT APPOINTMENTS you can select appointments in the calendar. The command does not consider the selection mode.
With the help of the operation parameter, you can specify, how the array is to be applied to the selection. The following operations are possible:
- 0 = replace selection
- 1 = add to selection
- 2 = remove from selection
To get an array of selected appointments, use the command hmCal_GET SELECTED APPOINTMENTS.
The following example selects three appointments: