📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "为屏幕保护设置密码"
ClientHeight = 2505
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 2505
ScaleWidth = 4680
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton Command2
Caption = "退出"
Height = 480
Left = 1380
TabIndex = 1
Top = 1410
Width = 1995
End
Begin VB.CommandButton Command1
Caption = "设置"
Height = 480
Left = 1380
TabIndex = 0
Top = 720
Width = 1995
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function PwdChangePassword Lib "mpr" Alias "PwdChangePasswordA" _
(ByVal lpcRegkeyname As String, ByVal hwnd As Long, ByVal uiReserved1 As Long, _
ByVal uiReserved2 As Long) As Long
Private Sub Command1_Click()
Call PwdChangePassword("SCRSAVE", Me.hwnd, 0, 0)
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -