www.pudn.com > AVPhone.zip > Form4.frm
VERSION 5.00
Object = "{66F6EA70-DB60-4BD1-ABF7-079F8EE24AD9}#9.0#0"; "AVPhone.ocx"
Begin VB.Form Form4
Caption = "Remote Video"
ClientHeight = 2265
ClientLeft = 4860
ClientTop = 1410
ClientWidth = 3435
Icon = "Form4.frx":0000
LinkTopic = "Form4"
ScaleHeight = 2265
ScaleWidth = 3435
ShowInTaskbar = 0 'False
Begin AVPhone.VidRnd VidRnd1
Height = 2160
Left = 60
Top = 60
Width = 2640
_ExtentX = 4657
_ExtentY = 3810
AVPhone = "Form4.frx":000C
End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
On Error Resume Next
VidRnd1.Move 0, 0
VidRnd1_Resize
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If UnloadMode = vbFormControlMenu Then
Cancel = True
On Error Resume Next
Hide
End If
End Sub
Private Sub Form_Resize()
On Error Resume Next
With VidRnd1
.Move 0, 0, ScaleWidth, ScaleHeight
End With
End Sub
Private Sub VidRnd1_Click()
On Error GoTo ErrorHandle
ShowClick
Exit Sub
ErrorHandle:
ShowErr
End Sub
Private Sub VidRnd1_DriverOpened()
On Error GoTo ErrorHandle
Dim s As String
s = UCase$(VidRnd1.Decompressor)
Select Case s
Case Else
End Select
Exit Sub
ErrorHandle:
ShowErr
End Sub
Private Sub VidRnd1_ContextMenu()
On Error GoTo ErrorHandle
PopupMenu Form1.mnuView
Exit Sub
ErrorHandle:
ShowErr
End Sub
Private Sub VidRnd1_Resize()
On Error Resume Next
With VidRnd1
Move Left, Top, .Width + Width - ScaleWidth, .Height + Height - ScaleHeight
End With
End Sub