home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmMain
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Dialog
- Caption = "Animate"
- ClientHeight = 1950
- ClientLeft = 4125
- ClientTop = 4725
- ClientWidth = 3150
- DrawMode = 15 'Merge Pen Not
- FillColor = &H00FF0000&
- FillStyle = 0 'Solid
- FontTransparent = 0 'False
- ForeColor = &H00000000&
- Height = 2355
- Icon = "frmMain.frx":0000
- Left = 4065
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 130
- ScaleMode = 3 'Pixel
- ScaleWidth = 210
- ShowInTaskbar = 0 'False
- Top = 4380
- Width = 3270
- Begin VB.PictureBox Picture1
- Height = 750
- Left = 2040
- ScaleHeight = 690
- ScaleWidth = 660
- TabIndex = 4
- Top = 600
- Width = 720
- End
- Begin VB.CommandButton cmdStop
- Caption = "Stop"
- Enabled = 0 'False
- Height = 375
- Left = 180
- TabIndex = 1
- Top = 1020
- Width = 1215
- End
- Begin VB.CommandButton cmdPlay
- Caption = "Play"
- Height = 375
- Left = 180
- TabIndex = 0
- Top = 540
- Width = 1215
- End
- Begin VB.Label Label2
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Make and run the exe file to see the AVI"
- Height = 195
- Left = 180
- TabIndex = 3
- Top = 60
- Width = 2850
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Benjamin Bourderon (Benjab@msn.com)"
- Height = 195
- Left = 120
- TabIndex = 2
- Top = 1680
- Width = 2865
- End
- Attribute VB_Name = "frmMain"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Const RES_AVI = 100&
- Dim ani As New SysAnimate32
- Private Sub cmdPlay_Click()
- cmdPlay.Enabled = False
- cmdstop.Enabled = True
- ani.pPlay
- End Sub
- Private Sub cmdstop_Click()
- cmdstop.Enabled = False
- cmdPlay.Enabled = True
- ani.pStop
- End Sub
- Private Sub Form_Load()
- ani.Create Me.hwnd, RES_AVI, 136, 40, 48, 50
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- ani.Destroy
- End Sub
-