📄 msgdis.frm
字号:
VERSION 5.00
Begin VB.Form msgdis
BackColor = &H00EFF2EC&
BorderStyle = 0 'None
Caption = "Disconnected"
ClientHeight = 2505
ClientLeft = 0
ClientTop = 0
ClientWidth = 4800
Icon = "msgdis.frx":0000
LinkTopic = "Form2"
ScaleHeight = 2505
ScaleWidth = 4800
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 2000
Left = 720
Top = 1680
End
Begin VB.CommandButton XPButton1
Caption = "OK"
Height = 495
Left = 1680
TabIndex = 1
Top = 1680
Width = 1215
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Disconnected"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
TabIndex = 2
Top = 0
Width = 2175
End
Begin VB.Image Image2
Height = 705
Left = 240
Picture = "msgdis.frx":B532
Stretch = -1 'True
Top = 600
Width = 720
End
Begin VB.Label msg
BackStyle = 0 'Transparent
Caption = "Aden Koo"
Height = 615
Left = 1080
TabIndex = 0
Top = 600
Width = 3375
End
Begin VB.Image Image3
Height = 2505
Left = 0
Picture = "msgdis.frx":BDFC
Stretch = -1 'True
Top = 0
Width = 4800
End
End
Attribute VB_Name = "msgdis"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Const HWND_TOPMOST = -1
Const SWP_NOSIZE = &H1
Private Declare Sub 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)
Private Declare Function BringWindowToTop Lib "user32" (ByVal hWnd As Long) As Long
Private Sub Form_Load()
Timer1.Enabled = True
End Sub
Private Sub Timer1_Timer()
BringWindowToTop Me.hWnd
SetWindowPos Me.hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE
End Sub
Private Sub XPButton1_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -