home *** CD-ROM | disk | FTP | other *** search
/ Dan Appleman's Visual Bas…s Guide to the Win32 API / Dan.Applmans.Visual.Basic.5.0.Programmers.Guide.To.The.Win32.API.1997.Ziff-Davis.Press.CD / VB5PG32.mdf / vbpg32 / samples5 / ch14 / watch.frm (.txt) < prev   
Encoding:
Visual Basic Form  |  1997-02-16  |  3.3 KB  |  111 lines

  1. VERSION 5.00
  2. Begin VB.Form frmWatcher 
  3.    Caption         =   "dwWatcher"
  4.    ClientHeight    =   2505
  5.    ClientLeft      =   1095
  6.    ClientTop       =   1515
  7.    ClientWidth     =   4395
  8.    LinkTopic       =   "Form1"
  9.    PaletteMode     =   1  'UseZOrder
  10.    ScaleHeight     =   2505
  11.    ScaleWidth      =   4395
  12.    Begin VB.Timer Timer1 
  13.       Interval        =   100
  14.       Left            =   3780
  15.       Top             =   180
  16.    End
  17.    Begin VB.Label Label4 
  18.       Caption         =   "Compuserve: 74431,3534"
  19.       Height          =   195
  20.       Index           =   3
  21.       Left            =   120
  22.       TabIndex        =   6
  23.       Top             =   2220
  24.       Width           =   4215
  25.    End
  26.    Begin VB.Label Label4 
  27.       Caption         =   "(408) 377-4770, fax: (408) 371-3530"
  28.       Height          =   195
  29.       Index           =   2
  30.       Left            =   120
  31.       TabIndex        =   5
  32.       Top             =   1980
  33.       Width           =   4215
  34.    End
  35.    Begin VB.Label Label4 
  36.       Caption         =   "1100 E. Hamilton Ave. #4, Campbell, CA 95008"
  37.       Height          =   195
  38.       Index           =   1
  39.       Left            =   120
  40.       TabIndex        =   4
  41.       Top             =   1740
  42.       Width           =   4215
  43.    End
  44.    Begin VB.Label Label4 
  45.       Caption         =   "Desaware"
  46.       Height          =   195
  47.       Index           =   0
  48.       Left            =   120
  49.       TabIndex        =   3
  50.       Top             =   1500
  51.       Width           =   4215
  52.    End
  53.    Begin VB.Label Label3 
  54.       Caption         =   "Copyright (c) 1995-1997, by Desaware - All Rights Reserved"
  55.       Height          =   255
  56.       Left            =   120
  57.       TabIndex        =   2
  58.       Top             =   1080
  59.       Width           =   4215
  60.    End
  61.    Begin VB.Label Label2 
  62.       Caption         =   "General purpose state machine for background operations."
  63.       Height          =   255
  64.       Left            =   120
  65.       TabIndex        =   1
  66.       Top             =   780
  67.       Width           =   4215
  68.    End
  69.    Begin VB.Line Line1 
  70.       BorderWidth     =   3
  71.       X1              =   120
  72.       X2              =   4260
  73.       Y1              =   660
  74.       Y2              =   660
  75.    End
  76.    Begin VB.Label Label1 
  77.       Caption         =   "Desaware"
  78.       BeginProperty Font 
  79.          Name            =   "Arial"
  80.          Size            =   21.75
  81.          Charset         =   0
  82.          Weight          =   700
  83.          Underline       =   0   'False
  84.          Italic          =   -1  'True
  85.          Strikethrough   =   0   'False
  86.       EndProperty
  87.       Height          =   435
  88.       Left            =   120
  89.       TabIndex        =   0
  90.       Top             =   180
  91.       Width           =   3135
  92.    End
  93. Attribute VB_Name = "frmWatcher"
  94. Attribute VB_GlobalNameSpace = False
  95. Attribute VB_Creatable = False
  96. Attribute VB_PredeclaredId = True
  97. Attribute VB_Exposed = False
  98. Option Explicit
  99. ' Copyright 
  100.  1997 by Desaware Inc. All Rights Reserved
  101. Private Sub Form_Unload(Cancel As Integer)
  102.     Set frmptr = Nothing    ' Free object
  103. End Sub
  104. ' Call the timer event for each object
  105. Private Sub Timer1_Timer()
  106.     Dim obj As Object
  107.     For Each obj In WatchCollection
  108.         obj.TimerEvent
  109.     Next obj
  110. End Sub
  111.