📄 frmmovie.frm
字号:
VERSION 5.00
Object = "{6BF52A50-394A-11D3-B153-00C04F79FAA6}#1.0#0"; "wmp.dll"
Begin VB.Form frmMovie
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 4650
ClientLeft = 0
ClientTop = 0
ClientWidth = 5985
LinkTopic = "Form1"
Picture = "frmMovie.frx":0000
ScaleHeight = 4650
ScaleWidth = 5985
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
WindowState = 2 'Maximized
Begin WMPLibCtl.WindowsMediaPlayer WindowsMediaPlayer1
Height = 4635
Left = 0
TabIndex = 0
Top = 0
Width = 6000
URL = ""
rate = 1
balance = 0
currentPosition = 0
defaultFrame = ""
playCount = 1
autoStart = -1 'True
currentMarker = 0
invokeURLs = -1 'True
baseURL = ""
volume = 50
mute = 0 'False
uiMode = "full"
stretchToFit = 0 'False
windowlessVideo = 0 'False
enabled = -1 'True
enableContextMenu= -1 'True
fullScreen = -1 'True
SAMIStyle = ""
SAMILang = ""
SAMIFilename = ""
captioningID = ""
enableErrorDialogs= 0 'False
_cx = 10583
_cy = 8176
End
End
Attribute VB_Name = "frmMovie"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
End Sub
Private Sub Form_Load()
'Me.RealAudio1.Source = App.Path & "\1.rm"
'Me.ActiveMovie1.FileName = App.Path & "\2.wmv"
'Me.ActiveMovie1.Run
Me.WindowsMediaPlayer1.Url = App.Path & "\AD.wpl"
'Me.WindowsMediaPlayer1.fullScreen = True
'Me.ActiveMovie1.MovieWindowSize = amvDoubleOriginalSize
'Me.ActiveMovie1.FullScreenMode = Not Me.ActiveMovie1.FullScreenMode
End Sub
Private Sub WindowsMediaPlayer1_Click(ByVal nButton As Integer, ByVal nShiftState As Integer, ByVal fX As Long, ByVal fY As Long)
Unload Me
End Sub
Private Sub WindowsMediaPlayer1_OpenStateChange(ByVal NewState As Long)
'Me.ActiveMovie1.FullScreenMode = Not Me.ActiveMovie1.FullScreenMode
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -