?? activemovie.frm
字號:
VERSION 5.00
Object = "{05589FA0-C356-11CE-BF01-00AA0055595A}#2.0#0"; "amovie.ocx"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmActiveMovie
Caption = "ActiveMovie Player"
ClientHeight = 4680
ClientLeft = 60
ClientTop = 345
ClientWidth = 3975
LinkTopic = "Form1"
ScaleHeight = 4680
ScaleWidth = 3975
Begin MSComDlg.CommonDialog dlgOpen
Left = 3360
Top = 240
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton cmdOpenFile
Caption = "Open File to Play"
Height = 375
Left = 0
TabIndex = 1
Top = 0
Width = 3975
End
Begin AMovieCtl.ActiveMovie ActiveMovie1
Height = 1110
Left = 0
TabIndex = 0
Top = 480
Width = 3990
_ExtentX = 7038
_ExtentY = 1958
ShowPositionControls= -1 'True
ShowSelectionControls= -1 'True
FullScreenMode = -1 'True
DisplayMode = 1
End
End
Attribute VB_Name = "frmActiveMovie"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Fig. 20.17
' Demonsrating the ActiveMovie control.
Option Explicit
Private Sub cmdOpenFile_Click()
dlgOpen.Filter = "All files (*.*)|*.*|"
Call dlgOpen.ShowOpen
ActiveMovie1.FileName = dlgOpen.FileName
End Sub
Private Sub ActiveMovie1_Error(ByVal SCode As Integer, _
ByVal Description As String, ByVal Source As String, _
CancelDisplay As Boolean)
MsgBox ("Invalid file type. Please choose another file.")
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -