home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / activex / demos / oletrial / samples / vb / mhtinp / mhtinp.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-11-30  |  69.5 KB  |  1,924 lines

  1. VERSION 4.00
  2. Begin VB.Form frmMhTimeInputOCX_Demo 
  3.    BorderStyle     =   3  'Fixed Dialog
  4.    Caption         =   "MicroHelp MhTimeInput OCX Demo"
  5.    ClientHeight    =   4515
  6.    ClientLeft      =   2370
  7.    ClientTop       =   1890
  8.    ClientWidth     =   5775
  9.    BeginProperty Font 
  10.       name            =   "MS Sans Serif"
  11.       charset         =   0
  12.       weight          =   700
  13.       size            =   8.25
  14.       underline       =   0   'False
  15.       italic          =   0   'False
  16.       strikethrough   =   0   'False
  17.    EndProperty
  18.    ForeColor       =   &H80000008&
  19.    Height          =   5175
  20.    Icon            =   "Mhtinp.frx":0000
  21.    Left            =   2310
  22.    LinkTopic       =   "Form1"
  23.    ScaleHeight     =   4515
  24.    ScaleWidth      =   5775
  25.    Top             =   1290
  26.    Width           =   5895
  27.    Begin VB.Frame fraInputRange 
  28.       Caption         =   "Restricting The Input Range"
  29.       Height          =   3576
  30.       Left            =   6060
  31.       TabIndex        =   36
  32.       Tag             =   "slide frame"
  33.       Top             =   480
  34.       Visible         =   0   'False
  35.       Width           =   5628
  36.       Begin VB.Frame Frame2 
  37.          Caption         =   "Set your desired lunch hour"
  38.          Height          =   1092
  39.          Left            =   1152
  40.          TabIndex        =   38
  41.          Top             =   1764
  42.          Width           =   3360
  43.          Begin VB.Label Label16 
  44.             Caption         =   "&End"
  45.             BeginProperty Font 
  46.                name            =   "MS Sans Serif"
  47.                charset         =   0
  48.                weight          =   400
  49.                size            =   8.25
  50.                underline       =   0   'False
  51.                italic          =   0   'False
  52.                strikethrough   =   0   'False
  53.             EndProperty
  54.             Height          =   228
  55.             Left            =   1764
  56.             TabIndex        =   42
  57.             Top             =   396
  58.             Width           =   804
  59.          End
  60.          Begin MhintimeLib.MhTimeInput MhTimeInputLunch 
  61.             Height          =   300
  62.             Index           =   1
  63.             Left            =   1764
  64.             TabIndex        =   41
  65.             Top             =   648
  66.             Width           =   1488
  67.             _Version        =   65536
  68.             _ExtentX        =   2625
  69.             _ExtentY        =   529
  70.             _StockProps     =   77
  71.             TintColor       =   16711935
  72.             Alignment       =   2
  73.             BevelSize       =   1
  74.             BevelStyle      =   0
  75.             BorderColor     =   -2147483642
  76.             BorderStyle     =   0
  77.             FillColor       =   -2147483633
  78.             LightColor      =   -2147483643
  79.             ShadowColor     =   -2147483632
  80.             TextColor       =   -2147483640
  81.             Text            =   "1:00:00"
  82.             ReadOnly        =   0   'False
  83.             Spin            =   2
  84.             SpinDelay       =   500
  85.             SpinSpeed       =   500
  86.             Indent          =   0
  87.             AutoHScroll     =   0   'False
  88.             FontStyle       =   0
  89.             Verbose         =   0   'False
  90.             CaretHeight     =   0
  91.             CaretWidth      =   0
  92.             CaretColor      =   -2147483640
  93.             CaretStyle      =   0
  94.             CaretVAlign     =   0
  95.             CaretInterval   =   500
  96.             CaretVisible    =   -1  'True
  97.             Separator       =   58
  98.             TimeFormat      =   2
  99.             Country         =   0
  100.             VAlignment      =   2
  101.             MaxHours        =   17
  102.             MaxMinutes      =   59
  103.             MaxSeconds      =   59
  104.             MinHours        =   9
  105.             MinMinutes      =   0
  106.             MinSeconds      =   0
  107.             SpinChange      =   1
  108.             AllowBlank      =   0   'False
  109.             FocusSelect     =   0   'False
  110.             AM              =   0   'False
  111.          End
  112.          Begin VB.Label Label15 
  113.             Caption         =   "&Begin"
  114.             BeginProperty Font 
  115.                name            =   "MS Sans Serif"
  116.                charset         =   0
  117.                weight          =   400
  118.                size            =   8.25
  119.                underline       =   0   'False
  120.                italic          =   0   'False
  121.                strikethrough   =   0   'False
  122.             EndProperty
  123.             Height          =   228
  124.             Left            =   108
  125.             TabIndex        =   40
  126.             Top             =   396
  127.             Width           =   804
  128.          End
  129.          Begin MhintimeLib.MhTimeInput MhTimeInputLunch 
  130.             Height          =   300
  131.             Index           =   0
  132.             Left            =   108
  133.             TabIndex        =   39
  134.             Top             =   648
  135.             Width           =   1488
  136.             _Version        =   65536
  137.             _ExtentX        =   2625
  138.             _ExtentY        =   529
  139.             _StockProps     =   77
  140.             TintColor       =   16711935
  141.             Alignment       =   2
  142.             BevelSize       =   1
  143.             BevelStyle      =   0
  144.             BorderColor     =   -2147483642
  145.             BorderStyle     =   0
  146.             FillColor       =   -2147483633
  147.             LightColor      =   -2147483643
  148.             ShadowColor     =   -2147483632
  149.             TextColor       =   -2147483640
  150.             Text            =   "12:00:00"
  151.             ReadOnly        =   0   'False
  152.             Spin            =   2
  153.             SpinDelay       =   500
  154.             SpinSpeed       =   500
  155.             Indent          =   0
  156.             AutoHScroll     =   0   'False
  157.             FontStyle       =   0
  158.             Verbose         =   0   'False
  159.             CaretHeight     =   0
  160.             CaretWidth      =   0
  161.             CaretColor      =   -2147483640
  162.             CaretStyle      =   0
  163.             CaretVAlign     =   0
  164.             CaretInterval   =   500
  165.             CaretVisible    =   -1  'True
  166.             Separator       =   58
  167.             TimeFormat      =   2
  168.             Country         =   0
  169.             VAlignment      =   2
  170.             MaxHours        =   16
  171.             MaxMinutes      =   59
  172.             MaxSeconds      =   59
  173.             MinHours        =   9
  174.             MinMinutes      =   0
  175.             MinSeconds      =   0
  176.             SpinChange      =   1
  177.             AllowBlank      =   0   'False
  178.             FocusSelect     =   0   'False
  179.             AM              =   0   'False
  180.          End
  181.       End
  182.       Begin Threed.SSPanel SSPanel4 
  183.          Height          =   660
  184.          Left            =   465
  185.          TabIndex        =   37
  186.          Top             =   975
  187.          Width           =   4695
  188.          _Version        =   65536
  189.          _ExtentX        =   8276
  190.          _ExtentY        =   1164
  191.          _StockProps     =   15
  192.          Caption         =   "The following MhTimeInput controls have been set so that you can only enter hours between 9 and 17 (5pm)"
  193.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  194.             name            =   "MS Sans Serif"
  195.             charset         =   0
  196.             weight          =   400
  197.             size            =   8.25
  198.             underline       =   0   'False
  199.             italic          =   0   'False
  200.             strikethrough   =   0   'False
  201.          EndProperty
  202.          BevelWidth      =   0
  203.          Font3D          =   3
  204.       End
  205.    End
  206.    Begin VB.Frame fraWorldTimes 
  207.       Caption         =   "Times Around The World"
  208.       Height          =   3576
  209.       Left            =   5940
  210.       TabIndex        =   4
  211.       Tag             =   "slide frame"
  212.       Top             =   252
  213.       Width           =   5628
  214.       Begin VB.CommandButton cmdChangeTime 
  215.          Caption         =   "Change &Time"
  216.          BeginProperty Font 
  217.             name            =   "MS Sans Serif"
  218.             charset         =   0
  219.             weight          =   400
  220.             size            =   8.25
  221.             underline       =   0   'False
  222.             italic          =   0   'False
  223.             strikethrough   =   0   'False
  224.          EndProperty
  225.          Height          =   372
  226.          Left            =   4176
  227.          TabIndex        =   43
  228.          Top             =   3024
  229.          Width           =   1300
  230.       End
  231.       Begin Threed.SSPanel SSPanel1 
  232.          Height          =   630
  233.          Left            =   150
  234.          TabIndex        =   21
  235.          Top             =   2730
  236.          Width           =   3900
  237.          _Version        =   65536
  238.          _ExtentX        =   6879
  239.          _ExtentY        =   1101
  240.          _StockProps     =   15
  241.          Caption         =   $"Mhtinp.frx":0442
  242.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  243.             name            =   "MS Sans Serif"
  244.             charset         =   0
  245.             weight          =   400
  246.             size            =   8.25
  247.             underline       =   0   'False
  248.             italic          =   0   'False
  249.             strikethrough   =   0   'False
  250.          EndProperty
  251.          BevelWidth      =   0
  252.          BevelOuter      =   1
  253.          Font3D          =   3
  254.       End
  255.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  256.          Height          =   300
  257.          Index           =   11
  258.          Left            =   4248
  259.          TabIndex        =   32
  260.          TabStop         =   0   'False
  261.          Top             =   1944
  262.          Width           =   1200
  263.          _Version        =   65536
  264.          _ExtentX        =   2117
  265.          _ExtentY        =   529
  266.          _StockProps     =   77
  267.          TintColor       =   16711935
  268.          Alignment       =   2
  269.          BevelSize       =   1
  270.          BevelStyle      =   0
  271.          BorderColor     =   -2147483642
  272.          BorderStyle     =   1
  273.          FillColor       =   -2147483633
  274.          LightColor      =   -2147483643
  275.          ShadowColor     =   -2147483632
  276.          TextColor       =   -2147483640
  277.          Text            =   "03:04:30"
  278.          ReadOnly        =   -1  'True
  279.          Spin            =   0
  280.          SpinDelay       =   500
  281.          SpinSpeed       =   500
  282.          Indent          =   0
  283.          AutoHScroll     =   0   'False
  284.          FontStyle       =   0
  285.          Verbose         =   0   'False
  286.          CaretHeight     =   0
  287.          CaretWidth      =   0
  288.          CaretColor      =   -2147483640
  289.          CaretStyle      =   0
  290.          CaretVAlign     =   0
  291.          CaretInterval   =   500
  292.          CaretVisible    =   -1  'True
  293.          Separator       =   58
  294.          TimeFormat      =   2
  295.          Country         =   0
  296.          VAlignment      =   2
  297.          MaxHours        =   23
  298.          MaxMinutes      =   59
  299.          MaxSeconds      =   59
  300.          MinHours        =   0
  301.          MinMinutes      =   0
  302.          MinSeconds      =   0
  303.          SpinChange      =   1
  304.          AllowBlank      =   0   'False
  305.          FocusSelect     =   0   'False
  306.          AM              =   -1  'True
  307.       End
  308.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  309.          Height          =   300
  310.          Index           =   10
  311.          Left            =   2880
  312.          TabIndex        =   31
  313.          TabStop         =   0   'False
  314.          Top             =   1944
  315.          Width           =   1200
  316.          _Version        =   65536
  317.          _ExtentX        =   2117
  318.          _ExtentY        =   529
  319.          _StockProps     =   77
  320.          TintColor       =   16711935
  321.          Alignment       =   2
  322.          BevelSize       =   1
  323.          BevelStyle      =   0
  324.          BorderColor     =   -2147483642
  325.          BorderStyle     =   0
  326.          FillColor       =   -2147483633
  327.          LightColor      =   -2147483643
  328.          ShadowColor     =   -2147483632
  329.          TextColor       =   -2147483640
  330.          Text            =   "03:04:30"
  331.          ReadOnly        =   -1  'True
  332.          Spin            =   0
  333.          SpinDelay       =   500
  334.          SpinSpeed       =   500
  335.          Indent          =   0
  336.          AutoHScroll     =   0   'False
  337.          FontStyle       =   0
  338.          Verbose         =   0   'False
  339.          CaretHeight     =   0
  340.          CaretWidth      =   0
  341.          CaretColor      =   -2147483640
  342.          CaretStyle      =   0
  343.          CaretVAlign     =   0
  344.          CaretInterval   =   500
  345.          CaretVisible    =   -1  'True
  346.          Separator       =   58
  347.          TimeFormat      =   2
  348.          Country         =   0
  349.          VAlignment      =   2
  350.          MaxHours        =   23
  351.          MaxMinutes      =   59
  352.          MaxSeconds      =   59
  353.          MinHours        =   0
  354.          MinMinutes      =   0
  355.          MinSeconds      =   0
  356.          SpinChange      =   1
  357.          AllowBlank      =   0   'False
  358.          FocusSelect     =   0   'False
  359.          AM              =   -1  'True
  360.       End
  361.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  362.          Height          =   300
  363.          Index           =   9
  364.          Left            =   1512
  365.          TabIndex        =   30
  366.          TabStop         =   0   'False
  367.          Top             =   1944
  368.          Width           =   1200
  369.          _Version        =   65536
  370.          _ExtentX        =   2117
  371.          _ExtentY        =   529
  372.          _StockProps     =   77
  373.          TintColor       =   16711935
  374.          Alignment       =   2
  375.          BevelSize       =   1
  376.          BevelStyle      =   0
  377.          BorderColor     =   -2147483642
  378.          BorderStyle     =   1
  379.          FillColor       =   -2147483633
  380.          LightColor      =   -2147483643
  381.          ShadowColor     =   -2147483632
  382.          TextColor       =   -2147483640
  383.          Text            =   "03:04:30"
  384.          ReadOnly        =   -1  'True
  385.          Spin            =   0
  386.          SpinDelay       =   500
  387.          SpinSpeed       =   500
  388.          Indent          =   0
  389.          AutoHScroll     =   0   'False
  390.          FontStyle       =   0
  391.          Verbose         =   0   'False
  392.          CaretHeight     =   0
  393.          CaretWidth      =   0
  394.          CaretColor      =   -2147483640
  395.          CaretStyle      =   0
  396.          CaretVAlign     =   0
  397.          CaretInterval   =   500
  398.          CaretVisible    =   0   'False
  399.          Separator       =   58
  400.          TimeFormat      =   2
  401.          Country         =   0
  402.          VAlignment      =   2
  403.          MaxHours        =   23
  404.          MaxMinutes      =   59
  405.          MaxSeconds      =   59
  406.          MinHours        =   0
  407.          MinMinutes      =   0
  408.          MinSeconds      =   0
  409.          SpinChange      =   1
  410.          AllowBlank      =   0   'False
  411.          FocusSelect     =   0   'False
  412.          AM              =   -1  'True
  413.       End
  414.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  415.          Height          =   300
  416.          Index           =   8
  417.          Left            =   180
  418.          TabIndex        =   29
  419.          TabStop         =   0   'False
  420.          Top             =   1944
  421.          Width           =   1200
  422.          _Version        =   65536
  423.          _ExtentX        =   2117
  424.          _ExtentY        =   529
  425.          _StockProps     =   77
  426.          TintColor       =   16711935
  427.          Alignment       =   2
  428.          BevelSize       =   1
  429.          BevelStyle      =   0
  430.          BorderColor     =   -2147483642
  431.          BorderStyle     =   0
  432.          FillColor       =   -2147483633
  433.          LightColor      =   -2147483643
  434.          ShadowColor     =   -2147483632
  435.          TextColor       =   -2147483640
  436.          Text            =   "03:04:30"
  437.          ReadOnly        =   -1  'True
  438.          Spin            =   0
  439.          SpinDelay       =   500
  440.          SpinSpeed       =   500
  441.          Indent          =   0
  442.          AutoHScroll     =   0   'False
  443.          FontStyle       =   0
  444.          Verbose         =   0   'False
  445.          CaretHeight     =   0
  446.          CaretWidth      =   0
  447.          CaretColor      =   -2147483640
  448.          CaretStyle      =   0
  449.          CaretVAlign     =   0
  450.          CaretInterval   =   500
  451.          CaretVisible    =   -1  'True
  452.          Separator       =   58
  453.          TimeFormat      =   2
  454.          Country         =   0
  455.          VAlignment      =   2
  456.          MaxHours        =   23
  457.          MaxMinutes      =   59
  458.          MaxSeconds      =   59
  459.          MinHours        =   0
  460.          MinMinutes      =   0
  461.          MinSeconds      =   0
  462.          SpinChange      =   1
  463.          AllowBlank      =   0   'False
  464.          FocusSelect     =   0   'False
  465.          AM              =   -1  'True
  466.       End
  467.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  468.          Height          =   300
  469.          Index           =   7
  470.          Left            =   4248
  471.          TabIndex        =   28
  472.          TabStop         =   0   'False
  473.          Top             =   1152
  474.          Width           =   1200
  475.          _Version        =   65536
  476.          _ExtentX        =   2117
  477.          _ExtentY        =   529
  478.          _StockProps     =   77
  479.          TintColor       =   16711935
  480.          Alignment       =   2
  481.          BevelSize       =   1
  482.          BevelStyle      =   0
  483.          BorderColor     =   -2147483642
  484.          BorderStyle     =   1
  485.          FillColor       =   -2147483633
  486.          LightColor      =   -2147483643
  487.          ShadowColor     =   -2147483632
  488.          TextColor       =   -2147483640
  489.          Text            =   "03:04:30"
  490.          ReadOnly        =   -1  'True
  491.          Spin            =   0
  492.          SpinDelay       =   500
  493.          SpinSpeed       =   500
  494.          Indent          =   0
  495.          AutoHScroll     =   0   'False
  496.          FontStyle       =   0
  497.          Verbose         =   0   'False
  498.          CaretHeight     =   0
  499.          CaretWidth      =   0
  500.          CaretColor      =   -2147483640
  501.          CaretStyle      =   0
  502.          CaretVAlign     =   0
  503.          CaretInterval   =   500
  504.          CaretVisible    =   0   'False
  505.          Separator       =   58
  506.          TimeFormat      =   2
  507.          Country         =   0
  508.          VAlignment      =   2
  509.          MaxHours        =   23
  510.          MaxMinutes      =   59
  511.          MaxSeconds      =   59
  512.          MinHours        =   0
  513.          MinMinutes      =   0
  514.          MinSeconds      =   0
  515.          SpinChange      =   1
  516.          AllowBlank      =   0   'False
  517.          FocusSelect     =   0   'False
  518.          AM              =   -1  'True
  519.       End
  520.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  521.          Height          =   300
  522.          Index           =   6
  523.          Left            =   2880
  524.          TabIndex        =   27
  525.          TabStop         =   0   'False
  526.          Top             =   1152
  527.          Width           =   1200
  528.          _Version        =   65536
  529.          _ExtentX        =   2117
  530.          _ExtentY        =   529
  531.          _StockProps     =   77
  532.          TintColor       =   16711935
  533.          Alignment       =   2
  534.          BevelSize       =   1
  535.          BevelStyle      =   0
  536.          BorderColor     =   -2147483642
  537.          BorderStyle     =   0
  538.          FillColor       =   -2147483633
  539.          LightColor      =   -2147483643
  540.          ShadowColor     =   -2147483632
  541.          TextColor       =   -2147483640
  542.          Text            =   "03:04:30"
  543.          ReadOnly        =   -1  'True
  544.          Spin            =   0
  545.          SpinDelay       =   500
  546.          SpinSpeed       =   500
  547.          Indent          =   0
  548.          AutoHScroll     =   0   'False
  549.          FontStyle       =   0
  550.          Verbose         =   0   'False
  551.          CaretHeight     =   0
  552.          CaretWidth      =   0
  553.          CaretColor      =   -2147483640
  554.          CaretStyle      =   0
  555.          CaretVAlign     =   0
  556.          CaretInterval   =   500
  557.          CaretVisible    =   -1  'True
  558.          Separator       =   58
  559.          TimeFormat      =   2
  560.          Country         =   0
  561.          VAlignment      =   2
  562.          MaxHours        =   23
  563.          MaxMinutes      =   59
  564.          MaxSeconds      =   59
  565.          MinHours        =   0
  566.          MinMinutes      =   0
  567.          MinSeconds      =   0
  568.          SpinChange      =   1
  569.          AllowBlank      =   0   'False
  570.          FocusSelect     =   0   'False
  571.          AM              =   -1  'True
  572.       End
  573.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  574.          Height          =   300
  575.          Index           =   5
  576.          Left            =   1512
  577.          TabIndex        =   26
  578.          TabStop         =   0   'False
  579.          Top             =   1152
  580.          Width           =   1200
  581.          _Version        =   65536
  582.          _ExtentX        =   2117
  583.          _ExtentY        =   529
  584.          _StockProps     =   77
  585.          TintColor       =   16711935
  586.          Alignment       =   2
  587.          BevelSize       =   1
  588.          BevelStyle      =   0
  589.          BorderColor     =   -2147483642
  590.          BorderStyle     =   1
  591.          FillColor       =   -2147483633
  592.          LightColor      =   -2147483643
  593.          ShadowColor     =   -2147483632
  594.          TextColor       =   -2147483640
  595.          Text            =   "03:04:30"
  596.          ReadOnly        =   -1  'True
  597.          Spin            =   0
  598.          SpinDelay       =   500
  599.          SpinSpeed       =   500
  600.          Indent          =   0
  601.          AutoHScroll     =   0   'False
  602.          FontStyle       =   0
  603.          Verbose         =   0   'False
  604.          CaretHeight     =   0
  605.          CaretWidth      =   0
  606.          CaretColor      =   -2147483640
  607.          CaretStyle      =   0
  608.          CaretVAlign     =   0
  609.          CaretInterval   =   500
  610.          CaretVisible    =   0   'False
  611.          Separator       =   58
  612.          TimeFormat      =   2
  613.          Country         =   0
  614.          VAlignment      =   2
  615.          MaxHours        =   23
  616.          MaxMinutes      =   59
  617.          MaxSeconds      =   59
  618.          MinHours        =   0
  619.          MinMinutes      =   0
  620.          MinSeconds      =   0
  621.          SpinChange      =   1
  622.          AllowBlank      =   0   'False
  623.          FocusSelect     =   0   'False
  624.          AM              =   -1  'True
  625.       End
  626.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  627.          Height          =   300
  628.          Index           =   4
  629.          Left            =   180
  630.          TabIndex        =   25
  631.          TabStop         =   0   'False
  632.          Top             =   1152
  633.          Width           =   1200
  634.          _Version        =   65536
  635.          _ExtentX        =   2117
  636.          _ExtentY        =   529
  637.          _StockProps     =   77
  638.          TintColor       =   16711935
  639.          Alignment       =   2
  640.          BevelSize       =   1
  641.          BevelStyle      =   0
  642.          BorderColor     =   -2147483642
  643.          BorderStyle     =   0
  644.          FillColor       =   -2147483633
  645.          LightColor      =   -2147483643
  646.          ShadowColor     =   -2147483632
  647.          TextColor       =   -2147483640
  648.          Text            =   "03:04:30"
  649.          ReadOnly        =   -1  'True
  650.          Spin            =   0
  651.          SpinDelay       =   500
  652.          SpinSpeed       =   500
  653.          Indent          =   0
  654.          AutoHScroll     =   0   'False
  655.          FontStyle       =   0
  656.          Verbose         =   0   'False
  657.          CaretHeight     =   0
  658.          CaretWidth      =   0
  659.          CaretColor      =   -2147483640
  660.          CaretStyle      =   0
  661.          CaretVAlign     =   0
  662.          CaretInterval   =   500
  663.          CaretVisible    =   0   'False
  664.          Separator       =   58
  665.          TimeFormat      =   2
  666.          Country         =   0
  667.          VAlignment      =   2
  668.          MaxHours        =   23
  669.          MaxMinutes      =   59
  670.          MaxSeconds      =   59
  671.          MinHours        =   0
  672.          MinMinutes      =   0
  673.          MinSeconds      =   0
  674.          SpinChange      =   1
  675.          AllowBlank      =   0   'False
  676.          FocusSelect     =   0   'False
  677.          AM              =   -1  'True
  678.       End
  679.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  680.          Height          =   300
  681.          Index           =   3
  682.          Left            =   4248
  683.          TabIndex        =   24
  684.          TabStop         =   0   'False
  685.          Top             =   360
  686.          Width           =   1200
  687.          _Version        =   65536
  688.          _ExtentX        =   2117
  689.          _ExtentY        =   529
  690.          _StockProps     =   77
  691.          TintColor       =   16711935
  692.          Alignment       =   2
  693.          BevelSize       =   1
  694.          BevelStyle      =   0
  695.          BorderColor     =   -2147483642
  696.          BorderStyle     =   1
  697.          FillColor       =   -2147483633
  698.          LightColor      =   -2147483643
  699.          ShadowColor     =   -2147483632
  700.          TextColor       =   -2147483640
  701.          Text            =   "03:04:30"
  702.          ReadOnly        =   -1  'True
  703.          Spin            =   0
  704.          SpinDelay       =   500
  705.          SpinSpeed       =   500
  706.          Indent          =   0
  707.          AutoHScroll     =   0   'False
  708.          FontStyle       =   0
  709.          Verbose         =   0   'False
  710.          CaretHeight     =   0
  711.          CaretWidth      =   0
  712.          CaretColor      =   -2147483640
  713.          CaretStyle      =   0
  714.          CaretVAlign     =   0
  715.          CaretInterval   =   500
  716.          CaretVisible    =   0   'False
  717.          Separator       =   58
  718.          TimeFormat      =   2
  719.          Country         =   0
  720.          VAlignment      =   2
  721.          MaxHours        =   23
  722.          MaxMinutes      =   59
  723.          MaxSeconds      =   59
  724.          MinHours        =   0
  725.          MinMinutes      =   0
  726.          MinSeconds      =   0
  727.          SpinChange      =   1
  728.          AllowBlank      =   0   'False
  729.          FocusSelect     =   0   'False
  730.          AM              =   -1  'True
  731.       End
  732.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  733.          Height          =   300
  734.          Index           =   2
  735.          Left            =   2880
  736.          TabIndex        =   23
  737.          TabStop         =   0   'False
  738.          Top             =   360
  739.          Width           =   1200
  740.          _Version        =   65536
  741.          _ExtentX        =   2117
  742.          _ExtentY        =   529
  743.          _StockProps     =   77
  744.          TintColor       =   16711935
  745.          Alignment       =   2
  746.          BevelSize       =   1
  747.          BevelStyle      =   0
  748.          BorderColor     =   -2147483642
  749.          BorderStyle     =   0
  750.          FillColor       =   -2147483633
  751.          LightColor      =   -2147483643
  752.          ShadowColor     =   -2147483632
  753.          TextColor       =   -2147483640
  754.          Text            =   "03:04:30"
  755.          ReadOnly        =   -1  'True
  756.          Spin            =   0
  757.          SpinDelay       =   500
  758.          SpinSpeed       =   500
  759.          Indent          =   0
  760.          AutoHScroll     =   0   'False
  761.          FontStyle       =   0
  762.          Verbose         =   0   'False
  763.          CaretHeight     =   0
  764.          CaretWidth      =   0
  765.          CaretColor      =   -2147483640
  766.          CaretStyle      =   0
  767.          CaretVAlign     =   0
  768.          CaretInterval   =   500
  769.          CaretVisible    =   -1  'True
  770.          Separator       =   58
  771.          TimeFormat      =   2
  772.          Country         =   0
  773.          VAlignment      =   2
  774.          MaxHours        =   23
  775.          MaxMinutes      =   59
  776.          MaxSeconds      =   59
  777.          MinHours        =   0
  778.          MinMinutes      =   0
  779.          MinSeconds      =   0
  780.          SpinChange      =   1
  781.          AllowBlank      =   0   'False
  782.          FocusSelect     =   0   'False
  783.          AM              =   -1  'True
  784.       End
  785.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  786.          Height          =   300
  787.          Index           =   1
  788.          Left            =   1512
  789.          TabIndex        =   22
  790.          TabStop         =   0   'False
  791.          Top             =   360
  792.          Width           =   1200
  793.          _Version        =   65536
  794.          _ExtentX        =   2117
  795.          _ExtentY        =   529
  796.          _StockProps     =   77
  797.          TintColor       =   16711935
  798.          Alignment       =   2
  799.          BevelSize       =   1
  800.          BevelStyle      =   0
  801.          BorderColor     =   -2147483642
  802.          BorderStyle     =   1
  803.          FillColor       =   -2147483633
  804.          LightColor      =   -2147483643
  805.          ShadowColor     =   -2147483632
  806.          TextColor       =   -2147483640
  807.          Text            =   "03:04:30"
  808.          ReadOnly        =   -1  'True
  809.          Spin            =   0
  810.          SpinDelay       =   500
  811.          SpinSpeed       =   500
  812.          Indent          =   0
  813.          AutoHScroll     =   0   'False
  814.          FontStyle       =   0
  815.          Verbose         =   0   'False
  816.          CaretHeight     =   0
  817.          CaretWidth      =   0
  818.          CaretColor      =   -2147483640
  819.          CaretStyle      =   0
  820.          CaretVAlign     =   0
  821.          CaretInterval   =   500
  822.          CaretVisible    =   -1  'True
  823.          Separator       =   58
  824.          TimeFormat      =   2
  825.          Country         =   0
  826.          VAlignment      =   2
  827.          MaxHours        =   23
  828.          MaxMinutes      =   59
  829.          MaxSeconds      =   59
  830.          MinHours        =   0
  831.          MinMinutes      =   0
  832.          MinSeconds      =   0
  833.          SpinChange      =   1
  834.          AllowBlank      =   0   'False
  835.          FocusSelect     =   0   'False
  836.          AM              =   -1  'True
  837.       End
  838.       Begin VB.Label Label2 
  839.          Alignment       =   2  'Center
  840.          Caption         =   "Mexico City"
  841.          BeginProperty Font 
  842.             name            =   "MS Sans Serif"
  843.             charset         =   0
  844.             weight          =   400
  845.             size            =   8.25
  846.             underline       =   0   'False
  847.             italic          =   0   'False
  848.             strikethrough   =   0   'False
  849.          EndProperty
  850.          Height          =   264
  851.          Left            =   2880
  852.          TabIndex        =   20
  853.          Top             =   1476
  854.          Width           =   1200
  855.       End
  856.       Begin VB.Label Label13 
  857.          Alignment       =   2  'Center
  858.          Caption         =   "Tokyo"
  859.          BeginProperty Font 
  860.             name            =   "MS Sans Serif"
  861.             charset         =   0
  862.             weight          =   400
  863.             size            =   8.25
  864.             underline       =   0   'False
  865.             italic          =   0   'False
  866.             strikethrough   =   0   'False
  867.          EndProperty
  868.          Height          =   264
  869.          Left            =   4248
  870.          TabIndex        =   19
  871.          Top             =   2268
  872.          Width           =   1200
  873.       End
  874.       Begin VB.Label Label12 
  875.          Alignment       =   2  'Center
  876.          Caption         =   "Sydney"
  877.          BeginProperty Font 
  878.             name            =   "MS Sans Serif"
  879.             charset         =   0
  880.             weight          =   400
  881.             size            =   8.25
  882.             underline       =   0   'False
  883.             italic          =   0   'False
  884.             strikethrough   =   0   'False
  885.          EndProperty
  886.          Height          =   264
  887.          Left            =   2880
  888.          TabIndex        =   18
  889.          Top             =   2268
  890.          Width           =   1200
  891.       End
  892.       Begin VB.Label Label11 
  893.          Alignment       =   2  'Center
  894.          Caption         =   "Madina"
  895.          BeginProperty Font 
  896.             name            =   "MS Sans Serif"
  897.             charset         =   0
  898.             weight          =   400
  899.             size            =   8.25
  900.             underline       =   0   'False
  901.             italic          =   0   'False
  902.             strikethrough   =   0   'False
  903.          EndProperty
  904.          Height          =   264
  905.          Left            =   1512
  906.          TabIndex        =   17
  907.          Top             =   1476
  908.          Width           =   1200
  909.       End
  910.       Begin VB.Label Label10 
  911.          Alignment       =   2  'Center
  912.          Caption         =   "Fiji"
  913.          BeginProperty Font 
  914.             name            =   "MS Sans Serif"
  915.             charset         =   0
  916.             weight          =   400
  917.             size            =   8.25
  918.             underline       =   0   'False
  919.             italic          =   0   'False
  920.             strikethrough   =   0   'False
  921.          EndProperty
  922.          Height          =   264
  923.          Left            =   2880
  924.          TabIndex        =   16
  925.          Top             =   684
  926.          Width           =   1200
  927.       End
  928.       Begin VB.Label Label9 
  929.          Alignment       =   2  'Center
  930.          Caption         =   "New York"
  931.          BeginProperty Font 
  932.             name            =   "MS Sans Serif"
  933.             charset         =   0
  934.             weight          =   400
  935.             size            =   8.25
  936.             underline       =   0   'False
  937.             italic          =   0   'False
  938.             strikethrough   =   0   'False
  939.          EndProperty
  940.          Height          =   264
  941.          Left            =   4248
  942.          TabIndex        =   15
  943.          Top             =   1476
  944.          Width           =   1200
  945.       End
  946.       Begin VB.Label Label8 
  947.          Alignment       =   2  'Center
  948.          Caption         =   "Paris"
  949.          BeginProperty Font 
  950.             name            =   "MS Sans Serif"
  951.             charset         =   0
  952.             weight          =   400
  953.             size            =   8.25
  954.             underline       =   0   'False
  955.             italic          =   0   'False
  956.             strikethrough   =   0   'False
  957.          EndProperty
  958.          Height          =   264
  959.          Left            =   1512
  960.          TabIndex        =   14
  961.          Top             =   2268
  962.          Width           =   1200
  963.       End
  964.       Begin VB.Label Label7 
  965.          Alignment       =   2  'Center
  966.          Caption         =   "Los Angeles"
  967.          BeginProperty Font 
  968.             name            =   "MS Sans Serif"
  969.             charset         =   0
  970.             weight          =   400
  971.             size            =   8.25
  972.             underline       =   0   'False
  973.             italic          =   0   'False
  974.             strikethrough   =   0   'False
  975.          EndProperty
  976.          Height          =   264
  977.          Left            =   180
  978.          TabIndex        =   13
  979.          Top             =   1476
  980.          Width           =   1200
  981.       End
  982.       Begin VB.Label Label6 
  983.          Alignment       =   2  'Center
  984.          Caption         =   "Cairo"
  985.          BeginProperty Font 
  986.             name            =   "MS Sans Serif"
  987.             charset         =   0
  988.             weight          =   400
  989.             size            =   8.25
  990.             underline       =   0   'False
  991.             italic          =   0   'False
  992.             strikethrough   =   0   'False
  993.          EndProperty
  994.          Height          =   264
  995.          Left            =   1512
  996.          TabIndex        =   12
  997.          Top             =   684
  998.          Width           =   1200
  999.       End
  1000.       Begin VB.Label Label5 
  1001.          Alignment       =   2  'Center
  1002.          Caption         =   "Greenwich Mean Time"
  1003.          BeginProperty Font 
  1004.             name            =   "MS Sans Serif"
  1005.             charset         =   0
  1006.             weight          =   400
  1007.             size            =   8.25
  1008.             underline       =   0   'False
  1009.             italic          =   0   'False
  1010.             strikethrough   =   0   'False
  1011.          EndProperty
  1012.          Height          =   444
  1013.          Left            =   4248
  1014.          TabIndex        =   11
  1015.          Top             =   684
  1016.          Width           =   1200
  1017.       End
  1018.       Begin VB.Label Label4 
  1019.          Alignment       =   2  'Center
  1020.          Caption         =   "Buenos Aires"
  1021.          BeginProperty Font 
  1022.             name            =   "MS Sans Serif"
  1023.             charset         =   0
  1024.             weight          =   400
  1025.             size            =   8.25
  1026.             underline       =   0   'False
  1027.             italic          =   0   'False
  1028.             strikethrough   =   0   'False
  1029.          EndProperty
  1030.          Height          =   264
  1031.          Left            =   180
  1032.          TabIndex        =   10
  1033.          Top             =   684
  1034.          Width           =   1200
  1035.       End
  1036.       Begin MhintimeLib.MhTimeInput MhTimeInputZones 
  1037.          Height          =   300
  1038.          Index           =   0
  1039.          Left            =   180
  1040.          TabIndex        =   9
  1041.          TabStop         =   0   'False
  1042.          Top             =   360
  1043.          Width           =   1200
  1044.          _Version        =   65536
  1045.          _ExtentX        =   2117
  1046.          _ExtentY        =   529
  1047.          _StockProps     =   77
  1048.          TintColor       =   16711935
  1049.          Alignment       =   2
  1050.          BevelSize       =   1
  1051.          BevelStyle      =   0
  1052.          BorderColor     =   -2147483642
  1053.          BorderStyle     =   0
  1054.          FillColor       =   -2147483633
  1055.          LightColor      =   -2147483643
  1056.          ShadowColor     =   -2147483632
  1057.          TextColor       =   -2147483640
  1058.          Text            =   "03:04:30"
  1059.          ReadOnly        =   -1  'True
  1060.          Spin            =   0
  1061.          SpinDelay       =   500
  1062.          SpinSpeed       =   500
  1063.          Indent          =   0
  1064.          AutoHScroll     =   0   'False
  1065.          FontStyle       =   0
  1066.          Verbose         =   0   'False
  1067.          CaretHeight     =   0
  1068.          CaretWidth      =   0
  1069.          CaretColor      =   -2147483640
  1070.          CaretStyle      =   0
  1071.          CaretVAlign     =   0
  1072.          CaretInterval   =   500
  1073.          CaretVisible    =   -1  'True
  1074.          Separator       =   58
  1075.          TimeFormat      =   2
  1076.          Country         =   0
  1077.          VAlignment      =   2
  1078.          MaxHours        =   23
  1079.          MaxMinutes      =   59
  1080.          MaxSeconds      =   59
  1081.          MinHours        =   0
  1082.          MinMinutes      =   0
  1083.          MinSeconds      =   0
  1084.          SpinChange      =   1
  1085.          AllowBlank      =   0   'False
  1086.          FocusSelect     =   0   'False
  1087.          AM              =   -1  'True
  1088.       End
  1089.       Begin VB.Label Label1 
  1090.          Alignment       =   2  'Center
  1091.          Caption         =   "Nigeria"
  1092.          BeginProperty Font 
  1093.             name            =   "MS Sans Serif"
  1094.             charset         =   0
  1095.             weight          =   400
  1096.             size            =   8.25
  1097.             underline       =   0   'False
  1098.             italic          =   0   'False
  1099.             strikethrough   =   0   'False
  1100.          EndProperty
  1101.          Height          =   264
  1102.          Left            =   180
  1103.          TabIndex        =   8
  1104.          Top             =   2268
  1105.          Width           =   1200
  1106.       End
  1107.    End
  1108.    Begin VB.Timer tmrTimeDisplayManager 
  1109.       Interval        =   1000
  1110.       Left            =   4860
  1111.       Top             =   3744
  1112.    End
  1113.    Begin VB.CommandButton cmdSlide 
  1114.       Appearance      =   0  'Flat
  1115.       BackColor       =   &H00D9A8AE&
  1116.       Caption         =   "< &Back"
  1117.       Enabled         =   0   'False
  1118.       BeginProperty Font 
  1119.          name            =   "MS Sans Serif"
  1120.          charset         =   0
  1121.          weight          =   400
  1122.          size            =   8.25
  1123.          underline       =   0   'False
  1124.          italic          =   0   'False
  1125.          strikethrough   =   0   'False
  1126.       EndProperty
  1127.       Height          =   372
  1128.       Index           =   0
  1129.       Left            =   1080
  1130.       TabIndex        =   1
  1131.       Top             =   3732
  1132.       Width           =   1212
  1133.    End
  1134.    Begin VB.CommandButton cmdSlide 
  1135.       Appearance      =   0  'Flat
  1136.       BackColor       =   &H00D9A8AE&
  1137.       Caption         =   "&Next >"
  1138.       Default         =   -1  'True
  1139.       BeginProperty Font 
  1140.          name            =   "MS Sans Serif"
  1141.          charset         =   0
  1142.          weight          =   400
  1143.          size            =   8.25
  1144.          underline       =   0   'False
  1145.          italic          =   0   'False
  1146.          strikethrough   =   0   'False
  1147.       EndProperty
  1148.       Height          =   372
  1149.       Index           =   1
  1150.       Left            =   2280
  1151.       TabIndex        =   2
  1152.       Top             =   3732
  1153.       Width           =   1212
  1154.    End
  1155.    Begin VB.CommandButton cmdClose 
  1156.       Appearance      =   0  'Flat
  1157.       BackColor       =   &H00D9A8AE&
  1158.       Caption         =   "&Close"
  1159.       BeginProperty Font 
  1160.          name            =   "MS Sans Serif"
  1161.          charset         =   0
  1162.          weight          =   400
  1163.          size            =   8.25
  1164.          underline       =   0   'False
  1165.          italic          =   0   'False
  1166.          strikethrough   =   0   'False
  1167.       EndProperty
  1168.       Height          =   372
  1169.       Left            =   3576
  1170.       TabIndex        =   3
  1171.       Top             =   3744
  1172.       Width           =   1212
  1173.    End
  1174.    Begin VB.Timer tmrStatusLine 
  1175.       Enabled         =   0   'False
  1176.       Left            =   648
  1177.       Top             =   3744
  1178.    End
  1179.    Begin Threed.SSPanel panStatusLine 
  1180.       Height          =   240
  1181.       Left            =   75
  1182.       TabIndex        =   7
  1183.       Top             =   4215
  1184.       Width           =   5625
  1185.       _Version        =   65536
  1186.       _ExtentX        =   9927
  1187.       _ExtentY        =   423
  1188.       _StockProps     =   15
  1189.       Caption         =   "Ready..."
  1190.       BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  1191.          name            =   "MS Sans Serif"
  1192.          charset         =   0
  1193.          weight          =   400
  1194.          size            =   8.25
  1195.          underline       =   0   'False
  1196.          italic          =   0   'False
  1197.          strikethrough   =   0   'False
  1198.       EndProperty
  1199.       BevelOuter      =   1
  1200.    End
  1201.    Begin VB.Frame fraTheLook 
  1202.       Caption         =   "Introducing The MhTimeInput Control..."
  1203.       Height          =   3576
  1204.       Left            =   72
  1205.       TabIndex        =   33
  1206.       Tag             =   "slide frame"
  1207.       Top             =   36
  1208.       Width           =   5628
  1209.       Begin Threed.SSPanel SSPanel2 
  1210.          Height          =   480
  1211.          Left            =   1620
  1212.          TabIndex        =   34
  1213.          Top             =   2310
  1214.          Width           =   2385
  1215.          _Version        =   65536
  1216.          _ExtentX        =   4212
  1217.          _ExtentY        =   847
  1218.          _StockProps     =   15
  1219.          Caption         =   "Right-click on me to set my properties"
  1220.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  1221.             name            =   "MS Sans Serif"
  1222.             charset         =   0
  1223.             weight          =   400
  1224.             size            =   8.25
  1225.             underline       =   0   'False
  1226.             italic          =   0   'False
  1227.             strikethrough   =   0   'False
  1228.          EndProperty
  1229.          BevelWidth      =   0
  1230.          Font3D          =   3
  1231.       End
  1232.       Begin Threed.SSPanel SSPanel3 
  1233.          Height          =   945
  1234.          Left            =   1620
  1235.          TabIndex        =   35
  1236.          Top             =   1335
  1237.          Width           =   2385
  1238.          _Version        =   65536
  1239.          _ExtentX        =   4212
  1240.          _ExtentY        =   1672
  1241.          _StockProps     =   15
  1242.          BevelInner      =   2
  1243.          Begin MhintimeLib.MhTimeInput MhTimeInputStar 
  1244.             Height          =   444
  1245.             Left            =   396
  1246.             TabIndex        =   0
  1247.             Top             =   252
  1248.             Width           =   1560
  1249.             _Version        =   65536
  1250.             _ExtentX        =   2752
  1251.             _ExtentY        =   783
  1252.             _StockProps     =   77
  1253.             BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  1254.                name            =   "MS Sans Serif"
  1255.                charset         =   0
  1256.                weight          =   400
  1257.                size            =   12
  1258.                underline       =   0   'False
  1259.                italic          =   0   'False
  1260.                strikethrough   =   0   'False
  1261.             EndProperty
  1262.             TintColor       =   16711935
  1263.             Alignment       =   2
  1264.             BevelSize       =   1
  1265.             BevelStyle      =   0
  1266.             BorderColor     =   -2147483642
  1267.             BorderStyle     =   0
  1268.             FillColor       =   -2147483633
  1269.             LightColor      =   -2147483643
  1270.             ShadowColor     =   -2147483632
  1271.             TextColor       =   -2147483640
  1272.             Text            =   "20:36:40"
  1273.             ReadOnly        =   0   'False
  1274.             Spin            =   0
  1275.             SpinDelay       =   500
  1276.             SpinSpeed       =   500
  1277.             Indent          =   0
  1278.             AutoHScroll     =   0   'False
  1279.             FontStyle       =   0
  1280.             Verbose         =   0   'False
  1281.             CaretHeight     =   0
  1282.             CaretWidth      =   0
  1283.             CaretColor      =   -2147483640
  1284.             CaretStyle      =   0
  1285.             CaretVAlign     =   0
  1286.             CaretInterval   =   500
  1287.             CaretVisible    =   -1  'True
  1288.             Separator       =   58
  1289.             TimeFormat      =   2
  1290.             Country         =   0
  1291.             VAlignment      =   2
  1292.             MaxHours        =   23
  1293.             MaxMinutes      =   59
  1294.             MaxSeconds      =   59
  1295.             MinHours        =   0
  1296.             MinMinutes      =   0
  1297.             MinSeconds      =   0
  1298.             SpinChange      =   1
  1299.             AllowBlank      =   0   'False
  1300.             FocusSelect     =   0   'False
  1301.             AM              =   0   'False
  1302.          End
  1303.          Begin VB.Shape Shape5 
  1304.             BackColor       =   &H00FFFF00&
  1305.             BackStyle       =   1  'Opaque
  1306.             FillColor       =   &H00FFFFFF&
  1307.             Height          =   480
  1308.             Left            =   1728
  1309.             Shape           =   2  'Oval
  1310.             Top             =   144
  1311.             Width           =   336
  1312.          End
  1313.          Begin VB.Shape Shape4 
  1314.             BackColor       =   &H00FF00FF&
  1315.             BackStyle       =   1  'Opaque
  1316.             FillColor       =   &H00FFFFFF&
  1317.             Height          =   300
  1318.             Left            =   216
  1319.             Shape           =   2  'Oval
  1320.             Top             =   504
  1321.             Width           =   444
  1322.          End
  1323.       End
  1324.       Begin VB.Shape Shape13 
  1325.          BackColor       =   &H00800080&
  1326.          BackStyle       =   1  'Opaque
  1327.          FillColor       =   &H00FFFFFF&
  1328.          Height          =   264
  1329.          Left            =   4248
  1330.          Shape           =   2  'Oval
  1331.          Top             =   396
  1332.          Width           =   372
  1333.       End
  1334.       Begin VB.Shape Shape12 
  1335.          BackColor       =   &H00808000&
  1336.          BackStyle       =   1  'Opaque
  1337.          FillColor       =   &H00FFFFFF&
  1338.          Height          =   336
  1339.          Left            =   4176
  1340.          Shape           =   2  'Oval
  1341.          Top             =   2952
  1342.          Width           =   588
  1343.       End
  1344.       Begin VB.Shape Shape11 
  1345.          BackColor       =   &H0000FFFF&
  1346.          BackStyle       =   1  'Opaque
  1347.          FillColor       =   &H00FFFFFF&
  1348.          Height          =   372
  1349.          Left            =   540
  1350.          Shape           =   2  'Oval
  1351.          Top             =   2772
  1352.          Width           =   660
  1353.       End
  1354.       Begin VB.Shape Shape8 
  1355.          BackColor       =   &H0000FFFF&
  1356.          BackStyle       =   1  'Opaque
  1357.          FillColor       =   &H00FFFFFF&
  1358.          Height          =   408
  1359.          Left            =   3096
  1360.          Shape           =   2  'Oval
  1361.          Top             =   1008
  1362.          Width           =   300
  1363.       End
  1364.       Begin VB.Shape Shape7 
  1365.          BackColor       =   &H000000FF&
  1366.          BackStyle       =   1  'Opaque
  1367.          FillColor       =   &H00FFFFFF&
  1368.          Height          =   696
  1369.          Left            =   4572
  1370.          Shape           =   2  'Oval
  1371.          Top             =   1476
  1372.          Width           =   372
  1373.       End
  1374.       Begin VB.Shape Shape6 
  1375.          BackColor       =   &H00800080&
  1376.          BackStyle       =   1  'Opaque
  1377.          FillColor       =   &H00FFFFFF&
  1378.          Height          =   660
  1379.          Left            =   360
  1380.          Shape           =   2  'Oval
  1381.          Top             =   1260
  1382.          Width           =   480
  1383.       End
  1384.       Begin VB.Shape Shape3 
  1385.          BackColor       =   &H00808000&
  1386.          BackStyle       =   1  'Opaque
  1387.          FillColor       =   &H00FFFFFF&
  1388.          Height          =   588
  1389.          Left            =   1440
  1390.          Shape           =   2  'Oval
  1391.          Top             =   1548
  1392.          Width           =   480
  1393.       End
  1394.       Begin VB.Shape Shape2 
  1395.          BackColor       =   &H00FF00FF&
  1396.          BackStyle       =   1  'Opaque
  1397.          FillColor       =   &H00FFFFFF&
  1398.          Height          =   516
  1399.          Left            =   2700
  1400.          Shape           =   2  'Oval
  1401.          Top             =   2844
  1402.          Width           =   408
  1403.       End
  1404.       Begin VB.Shape Shape1 
  1405.          BackColor       =   &H00FFFF00&
  1406.          BackStyle       =   1  'Opaque
  1407.          FillColor       =   &H00FFFFFF&
  1408.          Height          =   444
  1409.          Left            =   1080
  1410.          Shape           =   2  'Oval
  1411.          Top             =   432
  1412.          Width           =   768
  1413.       End
  1414.    End
  1415.    Begin VB.Frame fraTipsAndTricks 
  1416.       Caption         =   "Tips and Tricks..."
  1417.       Height          =   3576
  1418.       Left            =   5832
  1419.       TabIndex        =   5
  1420.       Tag             =   "slide frame"
  1421.       Top             =   36
  1422.       Visible         =   0   'False
  1423.       Width           =   5628
  1424.       Begin VB.TextBox txtTipsAndTricks 
  1425.          Height          =   3216
  1426.          Left            =   108
  1427.          Locked          =   -1  'True
  1428.          MultiLine       =   -1  'True
  1429.          ScrollBars      =   2  'Vertical
  1430.          TabIndex        =   6
  1431.          Top             =   252
  1432.          Width           =   5388
  1433.       End
  1434.    End
  1435.    Begin VB.Menu mnuFile 
  1436.       Caption         =   "&File"
  1437.       Begin VB.Menu mnuFileExit 
  1438.          Caption         =   "E&xit"
  1439.       End
  1440.    End
  1441.    Begin VB.Menu mnuTime 
  1442.       Caption         =   "Set &Time..."
  1443.    End
  1444.    Begin VB.Menu mnuAbout 
  1445.       Caption         =   "&About..."
  1446.    End
  1447.    Begin VB.Menu mnuStar_Context 
  1448.       Caption         =   "MhTimeInputStar Context Menu"
  1449.       Visible         =   0   'False
  1450.       Begin VB.Menu mnuStar_Context_Alignment 
  1451.          Caption         =   "&Alignment"
  1452.          Begin VB.Menu mnuStar_Context_Alignment_Item 
  1453.             Caption         =   "&Left"
  1454.             Index           =   0
  1455.          End
  1456.          Begin VB.Menu mnuStar_Context_Alignment_Item 
  1457.             Caption         =   "&Right"
  1458.             Index           =   1
  1459.          End
  1460.          Begin VB.Menu mnuStar_Context_Alignment_Item 
  1461.             Caption         =   "&Center"
  1462.             Index           =   2
  1463.          End
  1464.       End
  1465.       Begin VB.Menu mnuStar_Context_VAlignment 
  1466.          Caption         =   "&VAlignment"
  1467.          Begin VB.Menu mnuStar_Context_VAlignment_Item 
  1468.             Caption         =   "&Top"
  1469.             Index           =   0
  1470.          End
  1471.          Begin VB.Menu mnuStar_Context_VAlignment_Item 
  1472.             Caption         =   "&Bottem"
  1473.             Index           =   1
  1474.          End
  1475.          Begin VB.Menu mnuStar_Context_VAlignment_Item 
  1476.             Caption         =   "&Center"
  1477.             Index           =   2
  1478.          End
  1479.       End
  1480.       Begin VB.Menu mnuStar_Context_Sep6 
  1481.          Caption         =   "-"
  1482.       End
  1483.       Begin VB.Menu mnuStar_Context_FontStyle 
  1484.          Caption         =   "&Font Style"
  1485.          Begin VB.Menu mnuStar_Context_FontStyle_Item 
  1486.             Caption         =   "&None"
  1487.             Index           =   0
  1488.          End
  1489.          Begin VB.Menu mnuStar_Context_FontStyle_Item 
  1490.             Caption         =   "&Raised"
  1491.             Index           =   1
  1492.          End
  1493.          Begin VB.Menu mnuStar_Context_FontStyle_Item 
  1494.             Caption         =   "Raised (more)"
  1495.             Index           =   2
  1496.          End
  1497.          Begin VB.Menu mnuStar_Context_FontStyle_Item 
  1498.             Caption         =   "&Lowered"
  1499.             Index           =   3
  1500.          End
  1501.          Begin VB.Menu mnuStar_Context_FontStyle_Item 
  1502.             Caption         =   "Lowered (more)"
  1503.             Index           =   4
  1504.          End
  1505.       End
  1506.       Begin VB.Menu mnuStar_Context_Spin 
  1507.          Caption         =   "&Spin Buttons"
  1508.          Begin VB.Menu mnuStar_Context_Spin_Item 
  1509.             Caption         =   "&None"
  1510.             Index           =   0
  1511.          End
  1512.          Begin VB.Menu mnuStar_Context_Spin_Item 
  1513.             Caption         =   "&Left"
  1514.             Index           =   1
  1515.          End
  1516.          Begin VB.Menu mnuStar_Context_Spin_Item 
  1517.             Caption         =   "&Right"
  1518.             Index           =   2
  1519.          End
  1520.       End
  1521.       Begin VB.Menu mnuStar_Context_Sep7 
  1522.          Caption         =   "-"
  1523.       End
  1524.       Begin VB.Menu mnuStar_Context_Caret 
  1525.          Caption         =   "Caret Visible"
  1526.          Checked         =   -1  'True
  1527.       End
  1528.       Begin VB.Menu mnuStar_Context_ReadOnly 
  1529.          Caption         =   "&Read Only"
  1530.       End
  1531.       Begin VB.Menu mnuStar_Context_Sep8 
  1532.          Caption         =   "-"
  1533.       End
  1534.       Begin VB.Menu mnuStar_Context_AboutControl 
  1535.          Caption         =   "About Control..."
  1536.       End
  1537.    End
  1538. Attribute VB_Name = "frmMhTimeInputOCX_Demo"
  1539. Attribute VB_Creatable = False
  1540. Attribute VB_Exposed = False
  1541. Option Explicit ' always
  1542. Public TimeDisplayManager As CTimeDisplayManager
  1543. Private iNumberOfSlides As Byte, iCurrentSlide As Byte
  1544. ' This method moves to the demo's next slide if not already on the last slide
  1545. Private Sub ShowSlideNext()
  1546.     ' if we are not on the last slide then choose the next slide as the current slide
  1547.     If iCurrentSlide < iNumberOfSlides Then iCurrentSlide = iCurrentSlide + 1
  1548.     ' have the user interface move to this new slide (view)
  1549.     SetupFrames (iCurrentSlide)
  1550. End Sub
  1551. ' This method returns to the demo's previous slide if not already on the first slide
  1552. Private Sub ShowSlidePrevious()
  1553.     ' if we are not on the first slide then make the previouse slide the current slide
  1554.     If iCurrentSlide >= 1 Then iCurrentSlide = iCurrentSlide - 1
  1555.     ' have the user interface move to this new slide (view)
  1556.     SetupFrames (iCurrentSlide)
  1557. End Sub
  1558. Public Sub ShowAbout()
  1559.     ' show the about box
  1560.     Screen.MousePointer = vbHourglass
  1561.     Load frmAbout
  1562.     frmAbout.Show
  1563.     Screen.MousePointer = vbDefault
  1564. End Sub
  1565. ' This procedure sets the status line text to the text in sMessageText parameter
  1566. '   and keeps the text there for the time period specified (in milliseconds) by the
  1567. '   vTimePeriod parameter.  This procedure uses the timer on the demo's mDemoFace form to
  1568. '   get a callback when the vTimePeriod has elapsed.
  1569. '   sMessageText - text to be displayed
  1570. '   [vTimePeriod] - time period (in milliseconds) to display the message.  If not specfied a value
  1571. '       of 3000 is used.
  1572. '   [vOverRide] - when set to True the sMessageText is displayed immediately even if there is a
  1573. '       message currently being displayed.  If set to False (or not specified) and there is a message
  1574. '       being displayed the new message is placed in a single item queue and displayed when the time
  1575. '       period of the previous message has expired.
  1576. Private Sub SetStatusLineText(sMessageText As String, Optional vTimePeriod As Variant, Optional vOverRide As Variant)
  1577.     Static sQueueText As String, iQueueTimePeriod As Integer, bQueueIsEmpty As Boolean
  1578.     Dim oStatusLine As Control, oStatusLineTimer As Timer
  1579.     ' set references to controls on the m_DemoFace form
  1580.     Set oStatusLine = panStatusLine
  1581.     Set oStatusLineTimer = tmrStatusLine
  1582.     ' if the calling procedure did not specify a display time (or set it to <.5 seconds) then default the time to 3 seconds
  1583.     Select Case True
  1584.     Case IsMissing(vTimePeriod), vTimePeriod <= 500
  1585.         vTimePeriod = 3000
  1586.     End Select
  1587.     ' if the calling procedure did not specify an vOverRide value then set vOverRide to False
  1588.     If IsMissing(vOverRide) Then vOverRide = False
  1589.     With oStatusLineTimer
  1590.         ' if this procedure was called by the timer then turn the timer off and check queue.  If it was not called by the timer
  1591.         '   then there is a new message to display.
  1592.         If sMessageText = "_timer_calling_" Then
  1593.             ' If there is nothing in the queue then reset the status line text to "Ready".
  1594.             '   Otherwise, display the message which is in the queue
  1595.             .Enabled = False ' turn timer off
  1596.             If bQueueIsEmpty Then
  1597.                 ' reset status line text
  1598.                 oStatusLine.Caption = "Ready..."
  1599.             Else
  1600.                  ' display message which is in the queue
  1601.                  oStatusLine.Caption = sQueueText
  1602.                 ' setup timer to call this procedure when the iQueueTimePeriod has expired
  1603.                 .Interval = iQueueTimePeriod
  1604.                 sQueueText = "" ' clear queue text
  1605.                 iQueueTimePeriod = 0 ' clear queue time period
  1606.                 bQueueIsEmpty = True ' the queue is now empty so let's indicate this fact
  1607.                 .Enabled = True
  1608.            End If
  1609.         Else
  1610.             ' if the timer is enabled then there is already a message being displayed so place
  1611.             '   this new message in the single item queue.  But, if this is an over-ride then
  1612.             '   show the message now
  1613.             If .Enabled And Not vOverRide Then
  1614.                 sQueueText = sMessageText
  1615.                 iQueueTimePeriod = vTimePeriod
  1616.                 bQueueIsEmpty = False
  1617.             Else
  1618.                 ' over-ride the currently displayed message
  1619.                 .Enabled = False
  1620.                 sQueueText = "" ' clear queue text
  1621.                 iQueueTimePeriod = 0 ' clear queue time period
  1622.                 bQueueIsEmpty = True ' the queue is now empty so let's indicate this fact
  1623.                 oStatusLine.Caption = sMessageText
  1624.                 ' setup timer to call this procedure when the vTimePeriod has expired
  1625.                 .Interval = vTimePeriod
  1626.                 .Enabled = True
  1627.             End If
  1628.         End If
  1629.     End With
  1630. End Sub
  1631. ' This procedure sets the percent complete status line of the demo's interface
  1632. '   form.
  1633. '   iProgress - value to set indicate percent complete of operation.
  1634. '       If a value of <0 or > 100 is passed the status line is cleared and reset
  1635. Private Sub SetStatusBarProgress(iProgress As Byte)
  1636.     Dim StatusBar As Control
  1637.     ' set reference to status line on form
  1638.     Set StatusBar = panStatusLine
  1639.     With StatusBar
  1640.         Select Case iProgress
  1641.         Case 0 To 100
  1642.             ' set the status line flood type if not already set
  1643.             If .FloodType <> 1 Then .FloodType = 1
  1644.             ' set the value of the percent complete
  1645.             .FloodPercent = iProgress
  1646.         Case Else
  1647.             ' value is outside of valid range so reset status line
  1648.             .FloodType = 0
  1649.             .FloodPercent = 0
  1650.         End Select
  1651.     End With ' StatusBar
  1652. End Sub
  1653. Private Sub cmdChangeTime_Click()
  1654.     ' show the 'change time' form
  1655.     Call EditTime
  1656. End Sub
  1657. Private Sub cmdClose_Click()
  1658.     ' unload this form
  1659.     Unload Me
  1660. End Sub
  1661. Private Sub cmdSlide_Click(Index As Integer)
  1662.     ' determine the button that the user pressed
  1663.     Select Case Index
  1664.     Case 0 ' Go Back
  1665.        ShowSlidePrevious
  1666.     Case 1 ' Go to Next slide
  1667.        ShowSlideNext
  1668.     End Select
  1669. End Sub
  1670. Private Sub Form_Load()
  1671.     Dim iDisplaySlideLeft As Integer, iDisplaySlideTop As Integer
  1672.     Dim oTempTimeZoneControl As CTimeZoneControl
  1673.     Dim iCount As Byte
  1674.     Set TimeDisplayManager = New CTimeDisplayManager
  1675.     ' setup time management objects
  1676.     For iCount = 0 To 11
  1677.         Set oTempTimeZoneControl = New CTimeZoneControl
  1678.         With oTempTimeZoneControl
  1679.             Set .InputControl = MhTimeInputZones(iCount)
  1680.             ' set the time zone offsets
  1681.             Select Case iCount
  1682.             Case 0 ' Buenos Aires
  1683.                  .TimeZoneOffset = -3
  1684.             Case 1 ' Cairo
  1685.                 .TimeZoneOffset = 2
  1686.             Case 2 ' Fiji
  1687.                 .TimeZoneOffset = 12
  1688.             Case 3 ' Greenwich Mean Time
  1689.                 .TimeZoneOffset = 0
  1690.             Case 4 ' Los Angeles
  1691.                 .TimeZoneOffset = -8
  1692.             Case 5 ' Madina
  1693.                 .TimeZoneOffset = 3
  1694.             Case 6 ' Mexico City
  1695.                 .TimeZoneOffset = -6
  1696.             Case 7 ' New York
  1697.                 .TimeZoneOffset = -5
  1698.             Case 8 ' Nigeria
  1699.                 .TimeZoneOffset = 0
  1700.             Case 9 ' Paris
  1701.                 .TimeZoneOffset = 1
  1702.             Case 10 ' Sydney
  1703.                 .TimeZoneOffset = 10
  1704.             Case 11 ' Tokyo
  1705.                 .TimeZoneOffset = 9
  1706.             End Select
  1707.         End With ' oTempTimeZoneControl
  1708.         ' add this control to the TimeDisplayManager
  1709.         TimeDisplayManager.Add oTempTimeZoneControl
  1710.     Next iCount
  1711.     ' set control to current time
  1712.     MhTimeInputStar.Text = Format$(Time, "h:nn:ss")
  1713.     ' set GMT as if we are in New York
  1714.     TimeDisplayManager.GreenwichMeanTimeOffset = -5 ' hours
  1715.     tmrTimeDisplayManager.Interval = 1000 ' 1 second
  1716.     ' place all display frames in the same location as the first frame
  1717.     iDisplaySlideTop = fraTheLook.Top
  1718.     iDisplaySlideLeft = fraTheLook.Left
  1719.     Dim TempControl As Control
  1720.     For Each TempControl In Me.Controls
  1721.         If TypeOf TempControl Is Frame Then
  1722.             With TempControl
  1723.                 If .Tag = "slide frame" Then ' frames used as slides have their .Tag properties set to "slide frame"
  1724.                     .Left = iDisplaySlideLeft
  1725.                     .Top = iDisplaySlideTop
  1726.                 End If
  1727.             End With ' TempControl
  1728.         End If
  1729.     Next TempControl
  1730.     ' center the form to the screen
  1731.     Move Abs(Screen.Width - Width) \ 2, Abs(Screen.Height - Height) \ 2
  1732.     ' we use 4 slide (views) for this demo
  1733.     iNumberOfSlides = 4
  1734.     ' setup first slide
  1735.     SetupFrames (1)
  1736.     Call ShowSlideNext
  1737.     ' greet the user warmly!
  1738.     Dim sGreeting As String
  1739.     Randomize (Timer)
  1740.     Select Case Int(Rnd * 4)
  1741.     Case 0
  1742.         sGreeting = "Howdi programmer..."
  1743.     Case 1
  1744.         sGreeting = "Hi there..."
  1745.     Case 2
  1746.         sGreeting = "It's MhWave Time!"
  1747.     Case Else
  1748.         sGreeting = "Welcome to the MicroHelp MhWave Demo!"
  1749.     End Select
  1750.     Call SetStatusLineText(sGreeting, 5001, True)
  1751. End Sub
  1752. Private Sub Form_Unload(Cancel As Integer)
  1753.     End
  1754. End Sub
  1755. Private Sub MhTimeInputStar_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  1756.     ' if the user click the right mousebutton then show
  1757.     '   the context menu for this control
  1758.     If Button And vbRightButton Then
  1759.         ' setup menu items
  1760.         With MhTimeInputStar
  1761.             mnuStar_Context_Caret.Checked = .CaretVisible
  1762.             mnuStar_Context_ReadOnly.Checked = .ReadOnly
  1763.         End With ' MhTimeInputStar
  1764.         PopupMenu mnuStar_Context
  1765.     End If
  1766. End Sub
  1767. Private Sub mnuAbout_Click()
  1768.     ' tell user about the demo by calling the parent object's ShowAbout method
  1769.    ShowAbout
  1770. End Sub
  1771. Private Sub mnuFileExit_Click()
  1772.     ' unload form
  1773.     Unload Me
  1774. End Sub
  1775. ' This procedure sets up the different views according to the SlideNumber parameter
  1776. Public Sub SetupFrames(SlideNumber As Integer)
  1777.     On Error GoTo SetupFrames_Error
  1778.     Dim oCurrentFrame As Frame
  1779.     Dim sMessageText  As String
  1780.     ' enabled/disable the appropriate buttons according to our slide number
  1781.     Select Case True
  1782.     Case SlideNumber <= 1 ' we are at first slide
  1783.         ' disable the back button
  1784.         cmdSlide(0).Enabled = False
  1785.         ' enable the 'next' button
  1786.         cmdSlide(1).Enabled = True
  1787.         cmdSlide(1).SetFocus
  1788.     Case SlideNumber >= iNumberOfSlides ' we are at last slide
  1789.         ' disable the next button
  1790.         cmdSlide(1).Enabled = False
  1791.         ' enable the 'back' button
  1792.         cmdSlide(0).Enabled = True
  1793.         cmdSlide(0).SetFocus
  1794.     Case Else
  1795.         ' enable both buttons
  1796.         cmdSlide(0).Enabled = True ' back
  1797.         cmdSlide(1).Enabled = True ' next
  1798.     End Select
  1799.     ' since only one slide uses this text box it can be set to empty to save a little memory
  1800.     txtTipsAndTricks.Text = ""
  1801.     ' make desired slide visible
  1802.     Select Case SlideNumber
  1803.     Case 1
  1804.         Set oCurrentFrame = fraTheLook
  1805.         oCurrentFrame.Visible = True
  1806.         ' tell user what this slide is about
  1807.         sMessageText = "Check out the MhTimeInput control!"
  1808.         MhTimeInputStar.SetFocus
  1809.     Case 2
  1810.         Set oCurrentFrame = fraInputRange
  1811.         oCurrentFrame.Visible = True
  1812.         ' tell user what this slide is about
  1813.         sMessageText = "The MhTimeInput allows you to control the range of valid values."
  1814.         MhTimeInputLunch(0).SetFocus
  1815.     Case 3
  1816.         Set oCurrentFrame = fraWorldTimes
  1817.         oCurrentFrame.Visible = True
  1818.         ' tell user what this slide is about
  1819.         sMessageText = "Programming is an international language.  Amy Allsmyles, 1995."
  1820.     Case 4
  1821.         Set oCurrentFrame = fraTipsAndTricks
  1822.         oCurrentFrame.Visible = True
  1823.         With txtTipsAndTricks
  1824.             .Text = "Speeding Up Data Entry" & vbCrLf & "When designing forms for rapid data entry try utilizing the AutoTerminate event of the various OLETools controls (including this one).  The AutoTerminate event fires when the user has reached the end of the text in the control.  You can facilitate speedy data entry by placing code in the AutoTerminate event which sets focus to the next data entry control."
  1825.             .Text = .Text & vbCrLf & vbCrLf & "" & vbCrLf & ""
  1826.         End With ' txtTipsAndTricks
  1827.         ' give user a tip
  1828.         sMessageText = "Best advice:  Know your tools, read the manual well!"
  1829.         cmdSlide(0).SetFocus
  1830.     End Select
  1831.     ' make all frames invisible (except for the current frame)
  1832.     Dim TempControl As Control
  1833.     For Each TempControl In Me.Controls
  1834.         If TypeOf TempControl Is Frame Then
  1835.             With TempControl
  1836.                 If .Tag = "slide frame" And .hWnd <> oCurrentFrame.hWnd Then .Visible = False
  1837.             End With ' TempControl
  1838.         End If
  1839.     Next TempControl
  1840.     ' show user message which goes with the selected slide
  1841.     Call SetStatusLineText(sMessageText, vOverRide:=True)
  1842. Exit Sub
  1843. SetupFrames_Error:
  1844. Select Case Err
  1845. Case 5  ' setfocus while form still not loaded is ok to do
  1846. End Select
  1847. Resume Next
  1848. End Sub
  1849. Private Sub mnuStar_Context_AboutControl_Click()
  1850.     ' show the control's built in about box
  1851.     Screen.MousePointer = vbHourglass
  1852.     Call MhTimeInputStar.AboutBox
  1853.     Screen.MousePointer = vbDefault
  1854. End Sub
  1855. Private Sub mnuStar_Context_Alignment_Item_Click(Index As Integer)
  1856.     ' set the .Alignment property to the one which the user selected.  Note the
  1857.     '   use of the control's intrinsic constants
  1858.     Select Case Index
  1859.     Case 0
  1860.         MhTimeInputStar.Alignment = mhAlignmentLeft
  1861.     Case 1
  1862.         MhTimeInputStar.Alignment = mhAlignmentRight
  1863.     Case 2
  1864.         MhTimeInputStar.Alignment = mhAlignmentCenter
  1865.     End Select
  1866. End Sub
  1867. Private Sub mnuStar_Context_Caret_Click()
  1868.     ' toggle the visible state of the caret
  1869.     MhTimeInputStar.CaretVisible = Not mnuStar_Context_Caret.Checked
  1870. End Sub
  1871. Private Sub mnuStar_Context_FontStyle_Item_Click(Index As Integer)
  1872.     ' set font style to the one which the user chose (see the
  1873.     '   mnuStar_Context_VAlignment_Item_Click procedure for illustration of use of
  1874.     '   intrinsic constants
  1875.     MhTimeInputStar.FontStyle = Index
  1876. End Sub
  1877. Private Sub mnuStar_Context_ReadOnly_Click()
  1878.     ' toggle the visible state of the caret
  1879.     MhTimeInputStar.ReadOnly = Not mnuStar_Context_ReadOnly.Checked
  1880. End Sub
  1881. Private Sub mnuStar_Context_Spin_Item_Click(Index As Integer)
  1882.     ' set the .Spin property to the one which the user selected.  Note the
  1883.     '   use of the control's intrinsic constants
  1884.     Select Case Index
  1885.     Case 0 ' none
  1886.         MhTimeInputStar.Spin = mhNoSpin
  1887.     Case 1 ' left
  1888.         MhTimeInputStar.Spin = mhLeftSpin
  1889.     Case 2 ' right
  1890.         MhTimeInputStar.Spin = mhRightSpin
  1891.     End Select
  1892. End Sub
  1893. Private Sub mnuStar_Context_VAlignment_Item_Click(Index As Integer)
  1894.     ' set the .VAlignment property to the one which the user selected.  Note the
  1895.     '   use of the control's intrinsic constants
  1896.     Select Case Index
  1897.     Case 0
  1898.         MhTimeInputStar.VAlignment = mhVAlignTop
  1899.     Case 1
  1900.         MhTimeInputStar.VAlignment = mhVAlignBottom
  1901.     Case 2
  1902.         MhTimeInputStar.VAlignment = mhVAlignCenter
  1903.     End Select
  1904. End Sub
  1905. Private Sub mnuTime_Click()
  1906.     ' show the 'change time' form
  1907.     Call EditTime
  1908. End Sub
  1909. Private Sub tmrStatusLine_Timer()
  1910.     ' tell status line that it is time to reset itself
  1911.     Call SetStatusLineText("_timer_calling_")
  1912. End Sub
  1913. Private Sub tmrTimeDisplayManager_Timer()
  1914.     ' tell the TimeDisplayManager to update the times
  1915.     Call TimeDisplayManager.UpdateTimeZoneControls
  1916. End Sub
  1917. Private Sub EditTime()
  1918.     ' show the 'change time' form
  1919.     Screen.MousePointer = vbHourglass
  1920.     frmChangeTime.ParentObject = Me
  1921.     Screen.MousePointer = vbDefault
  1922.     frmChangeTime.Show vbModal
  1923. End Sub
  1924.