Global Const KAL_STATE_NOT_SELECTED = 0 ' Day not selected
Global Const KAL_STATE_SELECTED_WITH = 1 ' Day selected, Kalendar has focus
Global Const KAL_STATE_SELECTED_WITHOUT = 2 ' Day selected, Kalendar does not have focus
Global Const KAL_STATE_OTHERMONTH = 3 ' Day is not from this month.
Global Const KAL_PRINT_PORTRAIT = 1 ' Print Kalendar full page in portrait mode.
Global Const KAL_PRINT_LANDSCAPE = 2 ' Print Kalendar landscape full page
Global Const KAL_PRINT_USER = 3 ' Print Kalendar as specified by user.
'--- For combo months.
Dim updatingCombos As Integer
Sub KalDrawDay (Kal As Control, hdc As Integer, STATE As Integer, theDay As Long, dLeft As Single, dTop As Single, dRight As Single, dBottom As Single)