home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Caption = "The World Changes"
- ClientHeight = 2490
- ClientLeft = 2205
- ClientTop = 2055
- ClientWidth = 5835
- Height = 2895
- Icon = "chgicon.frx":0000
- Left = 2145
- LinkTopic = "Form1"
- MaxButton = 0 'False
- ScaleHeight = 2490
- ScaleWidth = 5835
- ShowInTaskbar = 0 'False
- Top = 1710
- Width = 5955
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 15
- Left = 5085
- Picture = "chgicon.frx":0442
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 15
- Top = 1710
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 14
- Left = 4485
- Picture = "chgicon.frx":074C
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 14
- Top = 1695
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 13
- Left = 3885
- Picture = "chgicon.frx":0A56
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 13
- Top = 1695
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 12
- Left = 3285
- Picture = "chgicon.frx":0D60
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 12
- Top = 1695
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 11
- Left = 2685
- Picture = "chgicon.frx":106A
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 11
- Top = 1695
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 10
- Left = 2085
- Picture = "chgicon.frx":1374
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 10
- Top = 1695
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 9
- Left = 1485
- Picture = "chgicon.frx":167E
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 9
- Top = 1695
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 8
- Left = 885
- Picture = "chgicon.frx":1988
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 8
- Top = 1695
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 7
- Left = 5085
- Picture = "chgicon.frx":1C92
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 7
- Top = 1095
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 6
- Left = 4485
- Picture = "chgicon.frx":1F9C
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 6
- Top = 1095
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 5
- Left = 3885
- Picture = "chgicon.frx":22A6
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 5
- Top = 1095
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 4
- Left = 3285
- Picture = "chgicon.frx":25B0
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 4
- Top = 1095
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 3
- Left = 2685
- Picture = "chgicon.frx":28BA
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 3
- Top = 1095
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 2
- Left = 2085
- Picture = "chgicon.frx":2BC4
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 2
- Top = 1095
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 1
- Left = 1485
- Picture = "chgicon.frx":2ECE
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 1
- Top = 1095
- Visible = 0 'False
- Width = 600
- End
- Begin VB.PictureBox Picture1
- Height = 600
- Index = 0
- Left = 900
- Picture = "chgicon.frx":31D8
- ScaleHeight = 540
- ScaleWidth = 540
- TabIndex = 0
- Top = 1095
- Visible = 0 'False
- Width = 600
- End
- Begin VB.Timer Timer1
- Interval = 500
- Left = 990
- Top = 495
- End
- Begin VB.PictureBox Picture2
- Height = 735
- Left = 1980
- ScaleHeight = 675
- ScaleWidth = 795
- TabIndex = 16
- Top = 135
- Width = 855
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Dim nPos As Integer
- Private Sub Form_Load()
- Dim nd As NOTIFYICONDATA
- Dim nRet As Integer
- '-- Fill the nd structure.
- '-- Size of the structure
- nd.cbSize = Len(nd)
- '-- The form's hWnd
- nd.hWnd = Form1.hWnd
- '-- Specify Null for the ID
- nd.uID = vbNull
- '-- No callback procedure
- nd.uCallbackMessage = vbNull
- '-- Specify the Icon
- nd.hIcon = Form1.Icon
- '-- Set the flags to tell Shell that we are specifying
- ' the CallbackMessage, Icon, and Tip
- nd.uFlags = NIF_MESSAGE Or NIF_ICON Or NIF_TIP
- '-- Add the Icon
- nRet = Shell_NotifyIconA(NIM_ADD, nd)
- '-- Adjust the size of the form
- Width = 3100
- Height = 1500
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- Dim nd As NOTIFYICONDATA
- Dim nRet As Integer
- '-- Size of the structure
- nd.cbSize = Len(nd)
- '-- The form's hWnd
- nd.hWnd = Form1.hWnd
- '-- Specify Null for the ID
- nd.uID = vbNull
- '-- No callback procedure
- nd.uCallbackMessage = vbNull
- '-- Set the flags to tell Shell that we are specifying
- ' the CallbackMessage, Icon, and Tip
- nd.uFlags = NIF_MESSAGE Or NIF_ICON Or NIF_TIP
- '-- Delete the Icon
- nRet = Shell_NotifyIconA(NIM_DELETE, nd)
- End Sub
- Private Sub Timer1_Timer()
- Dim nd As NOTIFYICONDATA
- Dim nRet As Integer
- '-- Cycle the picture and icon
- Form1.Icon = Picture1(nPos).picture
- Picture2.picture = Picture1(nPos).picture
- nPos = nPos + 1
- If nPos = 16 Then
- nPos = 0
- End If
- '-- Size of the structure
- nd.cbSize = Len(nd)
- '-- The form's hWnd
- nd.hWnd = Form1.hWnd
- '-- Specify Null for the ID
- nd.uID = vbNull
- '-- No callback procedure
- nd.uCallbackMessage = vbNull
- '-- Specify the Icon
- nd.hIcon = Form1.Icon
- '-- Specify the Tip
- nd.szTip = "Buzz around the World, dude." & Chr$(0)
- '-- Set the flags to tell Shell that we are specifying
- ' the CallbackMessage, Icon, and Tip
- nd.uFlags = NIF_MESSAGE Or NIF_ICON Or NIF_TIP
- '-- Update the Icon
- nRet = Shell_NotifyIconA(NIM_MODIFY, nd)
- End Sub
-