📄 frmabout.frm
字号:
VERSION 5.00
Begin VB.Form frmAbout
BorderStyle = 4 'Fixed ToolWindow
Caption = "关于…… ……点击滚动字幕结束……"
ClientHeight = 2985
ClientLeft = 45
ClientTop = 285
ClientWidth = 4830
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 199
ScaleMode = 3 'Pixel
ScaleWidth = 322
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 50
Left = 1800
Top = 1560
End
Begin VB.PictureBox Picture2
AutoSize = -1 'True
Height = 15060
Left = 0
Picture = "frmAbout.frx":0000
ScaleHeight = 15000
ScaleWidth = 4830
TabIndex = 0
Top = 0
Width = 4890
End
End
Attribute VB_Name = "frmAbout"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'Dim SoundCard As Integer
'Dim TmpPath As String * 128
'Dim TmpPath1 As String
'Dim TmpLen As Long
Dim i As Long
Private Sub Picture2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim hMenu As Long ', MenuCnt As Long
Timer1.Enabled = True
'SoundCard = waveOutGetNumDevs()
'TmpLen = GetTempPath(128, TmpPath)
'TmpPath1 = Left$(TmpPath, 8)
'If SoundCard <> 0 Then
' mciSendString "OPEN " + TmpPath1 + "PRT.MID TYPE SEQUENCER ALIAS NN", "", 0, 0
' mciSendString "PLAY NN FROM 0", "", 0, 0
' mciSendString "CLOSE ANIMATION", "", 0, 0
'End If
i = 0
hMenu = GetSystemMenu(Me.hwnd, 0)
'MenuCnt = GetMenuItemCount(hMenu)
'Debug.Print MenuCnt
EnableMenuItem hMenu, GetMenuItemID(hMenu, 6), MF_GRAYED
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Timer1.Enabled = False
'If SoundCard <> 0 Then
' mciSendString "OPEN " + TmpPath1 + "PRT.MID TYPE SEQUENCER ALIAS NN", "", 0, 0
' mciSendString "STOP NN", "", 0, 0
' mciSendString "CLOSE ANIMATION", "", 0, 0
'End If
End Sub
Private Sub Timer1_Timer()
i = i + 1
If i = 760 Then i = 0
Picture2.Top = -i
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -