Constants

You can use following constants:

Contents

Views


hmCal_DayView                  1
hmCal_MultiDayView             2
hmCal_MonthView                3
hmCal_UserView                 4
hmCal_UserMultiDayView         5
hmCal_ProjectView              6
hmCal_ResourcesView            7

Errors


hmCal_NoError                  0
hmCal_HandleError             -1
hmCal_AppointmentNotFound     -2
hmCal_UserNotFound            -3
hmCal_AppAlreadyExists        -4
hmCal_StylesheetAlreadyExists -5
hmCal_StylesheetNotFound      -6
hmCal_CreationNotPossible     -7
hmCal_UserAlreadyExists       -8
hmCal_SupAppNotFound          -9
hmCal_RelationNotFound       -10
hmCal_ViewNotSupported       -11
hmCal_ActionNotPossible      -12
hmCal_InvalidTransfermode    -13
hmCal_InvalidPath            -14
hmCal_CalendarNotFound       -15
hmCal_WrongPictureFormat     -16
hmCal_IconNotFound           -17
hmCal_IconAlreadyExists      -18
hmCal_ColumnAlreadyExists    -19
hmCal_ColumnNotFound         -20
hmCal_WrongRelationType      -21
hmCal_WrongTimezone          -22
hmCal_InvalidArraySize       -23
hmCal_InvalidRange           -24
hmCal_CellNotFound           -25
hmCal_SpecialDayNotFound     -26

Events


hmCal_UpdateAppointments       1
hmCal_DragAppointment          2
hmCal_ResizeAppointment        3
hmCal_NewAppointment           4
hmCal_DeleteAppointment        5
hmCal_DoubleClickApp           6
hmCal_ClickAppointment         7
hmCal_DoubleClickArea          8
hmCal_ClickArea                9
hmCal_Drop                    10
hmCal_TryNewAppointment       11
hmCal_TryDragAppointment      12
hmCal_TryResizeAppointment    13
hmCal_Error                   14
hmCal_Update_RRULE            15
hmCal_DoubleClickRelation     16
hmCal_ClickRelation           17
hmCal_NewRelation             18
hmCal_DeleteRelation          19
hmCal_ClickAppCurrent         20
hmCal_DoubleClickAppCurrent   21
hmCal_ResizeObject            22
hmCal_SortAppointment         23

Properties for areas


hmCal_prop_UserListWidth       1
hmCal_prop_MultiDayArea        2
hmCal_prop_SwitchUser          3
hmCal_prop_NewLineHeight       4
hmCal_prop_DefaultEffect       5
hmCal_prop_Overlapping         7
hmCal_prop_ScrollAutoHide      8
hmCal_prop_ColumnWidth         9
hmCal_prop_DisplayTime        10
hmCal_prop_AllowDragNew       11
hmCal_prop_DeleteKey          12
hmCal_prop_FreezeView_V       13
hmCal_prop_ShowMonthHeader    14
hmCal_prop_LeftBarWidth       15
hmCal_prop_FreezeView_H       16
hmCal_prop_IndicateOutsideApp 17
hmCal_prop_GridCaption        18
hmCal_prop_GridHourLine       19
hmCal_prop_GridHalfHourLine   20
hmCal_prop_Add3points         21
hmCal_prop_OneLineCaption     22
hmCal_prop_RepeatTimeline     23
hmCal_prop_ShowTimeline       24
hmCal_prop_ShowHeader         25
hmCal_prop_CurrentTimeIndicator 26
hmCal_prop_GMTexport          27
hmCal_prop_MultiDayAreaHeight 28
hmCal_prop_AutoMonthWeeks     29 
hmCal_prop_MultiDayAreaResize 30
hmCal_prop_ColumnLines        31
hmCal_prop_DragTimeVisible    32
hmCal_prop_proj_scaleweek     33
hmCal_prop_proj_scalemonth    34
hmCal_prop_proj_scalequarter  35
hmCal_prop_proj_scaleyear     36
hmCal_prop_PrintingWidth      37
hmCal_prop_PrintingHeight     38
hmCal_prop_ProjectAreaHeight  39
hmCal_prop_DrawAsRect         40
hmCal_prop_ShowResources      41
hmCal_prop_SyncArea           42
hmCal_prop_UserListLock       43
hmCal_prop_AutoUpdateApp      44
hmCal_prop_ResourcesHourGrid  45
hmCal_prop_MaxLines           46
hmCal_prop_TimelineShift      47
hmCal_prop_Lineheight         48

Properties for appointments


hmCal_aprop_ID                 1
hmCal_aprop_CalendarID         2
hmCal_aprop_Textheader         3
hmCal_aprop_Textbody           4
hmCal_aprop_Tiptext            5
hmCal_aprop_AllDay             6
hmCal_aprop_DateFrom           7
hmCal_aprop_DateTo             8
hmCal_aprop_TimeFrom           9
hmCal_aprop_TimeTo            10
hmCal_aprop_Effect            11
hmCal_aprop_DoneStatus        12
hmCal_aprop_Milestone         13
hmCal_aprop_Icon              14
hmCal_aprop_Lock              15
hmCal_aprop_SupAppointment    16
hmCal_aprop_HeaderVisible     17
hmCal_aprop_TimeVisible       18
hmCal_aprop_ShowCurrentTime   19
hmCal_aprop_CurrDateFrom      20
hmCal_aprop_CurrDateTo        21
hmCal_aprop_CurrTimeFrom      22
hmCal_aprop_CurrTimeTo        23
hmCal_aprop_Location          24
hmCal_aprop_Expand            25
hmCal_aprop_Priority          26
hmCal_aprop_UID               27
hmCal_aprop_URL               28
hmCal_aprop_Independent       29
hmCal_aprop_DrawAsRect        30
hmCal_aprop_HasSubApps        31
hmCal_aprop_Icon2             32
hmCal_aprop_Icon3             33

Properties for columns


hmCal_cprop_width              1
hmCal_cprop_visible            2
hmCal_cprop_headertext1        3
hmCal_cprop_headertext2        4
hmCal_cprop_alignment          5
hmCal_cprop_resizeable         6
hmCal_cprop_minwidth           7
hmCal_cprop_headeralignment    8

Effects


hmCal_Effect_Normal            0
hmCal_Effect_Dim               1
hmCal_Effect_Fading            2
hmCal_Effect_LeftBar           3

Recurrence types


hmCal_rrule_none               0
hmCal_rrule_secondly           1
hmCal_rrule_minutely           2
hmCal_rrule_hourly             3
hmCal_rrule_daily              4
hmCal_rrule_weekly             5
hmCal_rrule_monthly            6
hmCal_rrule_yearly             7

Relation types


hmCal_rel_EndToBegin           1
hmCal_rel_BeginToBegin         2
hmCal_rel_EndToEnd             3
hmCal_rel_BeginToEnd           4

Colors


hmCal_clr_Background           1
hmCal_clr_Workinghours         2
hmCal_clr_Selection            3
hmCal_clr_AppNewBackground     4
hmCal_clr_AppNewForeground     5
hmCal_clr_AppNewHeadertext     6
hmCal_clr_AppNewDescrtext      7
hmCal_clr_ProjectAltBackground 8
hmCal_clr_Relation             9
hmCal_clr_Description         10
hmCal_clr_Hourline            11
hmCal_clr_Halfhourline        12
hmCal_clr_AppBackcolor        13
hmCal_clr_AppForecolor        14
hmCal_clr_AppHeadertext       15
hmCal_clr_AppDescrtext        16
hmCal_clr_UserBackground      17
hmCal_clr_ColumnBackground    18
hmCal_clr_ColumnText          19
hmCal_clr_ColumnHeadertext    20
hmCal_clr_CurrentTimeIndicator 21
hmCal_clr_CurrAppBackcolor    22
hmCal_clr_CurrAppForecolor    23
hmCal_clr_CurrAppHeadertext   24
hmCal_clr_CurrAppDescrtext    25
hmCal_clr_CellText            26
hmCal_clr_CellBackground      27

Picture formats


hmCal_picture_jpg              1
hmCal_picture_png              2
hmCal_picture_bmp              3
hmCal_picture_gif              4
hmCal_picture_tiff             5
hmCal_picture_pdf              6
hmCal_picture_svg              7