home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form SpyShow
- Caption = "File Event Spy"
- ClientHeight = 1005
- ClientLeft = 1020
- ClientTop = 1515
- ClientWidth = 8745
- Height = 1410
- Left = 960
- LinkTopic = "Form1"
- ScaleHeight = 1005
- ScaleWidth = 8745
- Top = 1170
- Width = 8865
- Begin VB.ListBox lstEvents
- BeginProperty Font
- name = "Courier New"
- charset = 0
- weight = 400
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 480
- IntegralHeight = 0 'False
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 8745
- End
- Begin VB.Menu mnuPopup
- Caption = "Popup"
- Visible = 0 'False
- Begin VB.Menu mnuClear
- Caption = "&Clear"
- End
- Begin VB.Menu mnuAbout
- Caption = "About Spy..."
- End
- End
- Attribute VB_Name = "SpyShow"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- 'When the containing form is resized, resize the ListBox
- 'to fit
- Private Sub Form_Resize()
- lstEvents.Move 0, 0, ScaleWidth, ScaleHeight
- End Sub
- Private Sub lstEvents_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If Button = vbRightButton Then
- PopupMenu mnuPopup, vbPopupMenuCenterAlign Or vbPopupMenuRightButton
- End If
- End Sub
- Private Sub mnuAbout_Click()
- About.Show vbModal
- End Sub
- Private Sub mnuClear_Click()
- lstEvents.Clear
- End Sub
-