home *** CD-ROM | disk | FTP | other *** search
Wrap
VERSION 2.00 Begin Form Form1 BorderStyle = 1 'Fixed Single ClientHeight = 2130 ClientLeft = 1920 ClientTop = 4620 ClientWidth = 8205 ControlBox = 0 'False Height = 2655 Left = 1860 LinkTopic = "Form1" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 2130 ScaleWidth = 8205 Top = 4155 Width = 8325 Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 9 Left = 4920 Picture = PRINT.FRX:0000 ScaleHeight = 480 ScaleWidth = 480 TabIndex = 11 Top = 1320 Width = 480 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 8 Left = 4440 Picture = PRINT.FRX:0302 ScaleHeight = 480 ScaleWidth = 480 TabIndex = 10 Top = 1320 Width = 480 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 7 Left = 3960 Picture = PRINT.FRX:0604 ScaleHeight = 480 ScaleWidth = 480 TabIndex = 9 Top = 1320 Width = 480 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 6 Left = 3480 Picture = PRINT.FRX:0906 ScaleHeight = 480 ScaleWidth = 480 TabIndex = 8 Top = 1320 Width = 480 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 5 Left = 3000 Picture = PRINT.FRX:0C08 ScaleHeight = 480 ScaleWidth = 480 TabIndex = 7 Top = 1320 Width = 480 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 0 Left = 600 Picture = PRINT.FRX:0F0A ScaleHeight = 480 ScaleWidth = 480 TabIndex = 6 Top = 1320 Width = 480 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 4 Left = 2520 Picture = PRINT.FRX:120C ScaleHeight = 480 ScaleWidth = 480 TabIndex = 5 Top = 1320 Width = 480 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 3 Left = 2040 Picture = PRINT.FRX:150E ScaleHeight = 480 ScaleWidth = 480 TabIndex = 3 Top = 1320 Width = 480 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 1 Left = 1080 Picture = PRINT.FRX:1810 ScaleHeight = 480 ScaleWidth = 480 TabIndex = 0 Top = 1320 Width = 480 End Begin PictureBox Picture5 AutoSize = -1 'True BorderStyle = 0 'None Height = 495 Left = 480 ScaleHeight = 495 ScaleWidth = 495 TabIndex = 4 Top = 720 Width = 495 End Begin Timer Timer2 Enabled = 0 'False Interval = 100 Left = 1920 Top = 480 End Begin CommandButton Command1 Caption = "Print Me" Height = 495 Left = 120 TabIndex = 2 Top = 120 Width = 1335 End Begin PictureBox Picture1 AutoRedraw = -1 'True AutoSize = -1 'True BorderStyle = 0 'None Height = 480 Index = 2 Left = 1560 Picture = PRINT.FRX:1B12 ScaleHeight = 480 ScaleWidth = 480 TabIndex = 1 Top = 1320 Width = 480 End Declare Function sndPlaySound Lib "MMSYSTEM.DLL" (ByVal lpszSoundName As String, ByVal wFlags As Integer) As Integer Declare Function BitBlt Lib "GDI" (ByVal hDestDC As Integer, ByVal x As Integer, ByVal Y As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hSrcDC As Integer, ByVal XSrc As Integer, ByVal YSrc As Integer, ByVal dwRop As Long) As Integer Const SRCCOPY = &HCC0020 Const SND_ASYNC = &H1 Const SND_NODEFAULT = &H2 Sub Command1_Click () Timer2.Enabled = True End Sub Sub Timer2_Timer () Static flag As Integer Dim Result As Integer Result = BitBlt(Picture5.hDC, 0, 0, 32, 32, Picture1(flag).hDC, 0, 0, SRCCOPY) flag = flag + 1 If flag = 10 Then flag = 0 End Sub