📄 看密码程序.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 1035
ClientLeft = 60
ClientTop = 345
ClientWidth = 3225
LinkTopic = "Form1"
ScaleHeight = 1035
ScaleWidth = 3225
StartUpPosition = 3 '窗口缺省
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 100
Left = 1020
Top = 300
End
Begin VB.CommandButton Command2
Caption = "Stop"
Height = 315
Left = 1755
TabIndex = 2
Top = 600
Width = 1155
End
Begin VB.CommandButton Command1
Caption = "Start"
Height = 315
Left = 315
TabIndex = 1
Top = 600
Width = 1155
End
Begin VB.TextBox Text1
Height = 270
Left = 120
Locked = -1 'True
TabIndex = 0
Top = 120
Width = 2955
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
End Sub
Private Sub Timer1_Timer()
hResult = GetCursorPos(Pos)
hNow = WindowFromPoint(Pos.x, Pos.y)
If hNow <> Text1.hwnd Then
Text1.Text = GetText(hNow)
End If
DoEvents
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -