📄 about.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "About Wind-Up Bird"
ClientHeight = 3015
ClientLeft = 60
ClientTop = 345
ClientWidth = 3675
Icon = "About.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3015
ScaleWidth = 3675
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text1
Height = 1380
Left = 105
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 2
Text = "About.frx":08CA
Top = 1050
Width = 3450
End
Begin VB.CommandButton Command1
Cancel = -1 'True
Caption = "&OK"
Default = -1 'True
Height = 345
Left = 1380
TabIndex = 0
Top = 2580
Width = 975
End
Begin VB.Image Image1
Height = 480
Left = 120
Picture = "About.frx":09A2
Top = 120
Width = 480
End
Begin VB.Label Label1
Alignment = 2 'Center
Caption = "Wind-Up Bird"
Height = 375
Left = 795
TabIndex = 1
Top = 240
Width = 2040
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Const SW_SHOW = 5
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Private Const HWND_TOPMOST = -1
Private Const HWND_NOTOPMOST = -2
Private Const SWP_NOSIZE = &H1
Private Const SWP_NOMOVE = &H2
Private Sub Command1_Click()
Unload Form2
End Sub
Private Sub Form_Load()
SetWindowPos hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE Or SWP_NOMOVE
End Sub
Private Sub Form_Unload(Cancel As Integer)
Form1.Enabled = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -