home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual St-Petersburg
/
VirtualSaint-Petersburg.iso
/
vivat
/
tasks
/
intro
/
introwin.frm
< prev
next >
Wrap
Text File
|
1996-09-03
|
4KB
|
167 lines
VERSION 2.00
Begin Form IntroWindow
BorderStyle = 0 'None
ClientHeight = 2310
ClientLeft = 1320
ClientTop = 1665
ClientWidth = 3825
ControlBox = 0 'False
Height = 2805
Icon = INTROWIN.FRX:0000
Left = 1215
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 154
ScaleMode = 3 'Pixel
ScaleWidth = 255
Top = 1275
Width = 4035
Begin MMControl Sound
BackVisible = 0 'False
EjectVisible = 0 'False
Height = 720
Left = 1785
NextVisible = 0 'False
PauseVisible = 0 'False
PlayVisible = 0 'False
PrevVisible = 0 'False
RecordVisible = 0 'False
StepVisible = 0 'False
StopVisible = 0 'False
TabIndex = 4
Top = 1425
Visible = 0 'False
Width = 420
End
Begin PictureBox Video
AutoRedraw = -1 'True
BorderStyle = 0 'None
Enabled = 0 'False
Height = 1095
Index = 3
Left = 2520
ScaleHeight = 73
ScaleMode = 3 'Pixel
ScaleWidth = 71
TabIndex = 3
Top = 180
Visible = 0 'False
Width = 1065
End
Begin PictureBox Video
AutoRedraw = -1 'True
BorderStyle = 0 'None
Enabled = 0 'False
Height = 1095
Index = 2
Left = 1395
ScaleHeight = 73
ScaleMode = 3 'Pixel
ScaleWidth = 71
TabIndex = 2
Top = 120
Visible = 0 'False
Width = 1065
End
Begin PictureBox Video
AutoRedraw = -1 'True
BorderStyle = 0 'None
Enabled = 0 'False
Height = 1095
Index = 1
Left = 120
ScaleHeight = 73
ScaleMode = 3 'Pixel
ScaleWidth = 71
TabIndex = 1
Top = 105
Visible = 0 'False
Width = 1065
End
Begin MMControl AVI
BackVisible = 0 'False
EjectVisible = 0 'False
Height = 720
Left = 90
NextVisible = 0 'False
PauseVisible = 0 'False
PlayVisible = 0 'False
PrevVisible = 0 'False
RecordVisible = 0 'False
StepVisible = 0 'False
StopVisible = 0 'False
TabIndex = 0
Tag = "1"
Top = 1425
Visible = 0 'False
Width = 420
End
End
Option Explicit
Sub AVI_Done (NotifyCode As Integer)
Dim nIndex As Integer
Dim szPicture As String
nIndex = CInt(Val(AVI.Tag))
szPicture = ProfileString(SN_VIDEO + Trim$(Str$(nIndex)), EN_POSTLOAD)
If Len(szPicture) > 0 Then
On Error Resume Next
Video(nIndex).Picture = LoadPicture(szPicture)
AVI.Wait = True
AVI.Notify = False
AVI.Command = "Close"
DoEvents
End If
If nIndex < 3 Then
LoadVideo nIndex + 1
End If
End Sub
Sub Form_Click ()
End
End Sub
Sub Form_KeyPress (nKeyAscii As Integer)
Form_Click
End Sub
Sub Form_QueryUnload (Cancel As Integer, UnloadMode As Integer)
Dim nDeviceNo As Integer
If AVI.Mode <> 524 Then
AVI.Wait = True
AVI.Notify = False
AVI.Command = "Close"
End If
If Sound.Mode <> 524 Then
Sound.Wait = True
Sound.Notify = False
Sound.Command = "Close"
End If
End Sub
Sub Sound_Done (NotifyCode As Integer)
'Sound.Wait = True
'Sound.Notify = False
'Sound.To = 0
'Sound.Command = "Seek"
'
'Sound.Wait = False
'Sound.Notify = True
'Sound.Command = "Play"
'
'DoEvents
Form_Click
End Sub