enumwin.frm
来自「列出Windows程序的进程」· FRM 代码 · 共 37 行
FRM
37 行
VERSION 5.00
Begin VB.Form Form1
Caption = "EnumWindows范例程序"
ClientHeight = 3492
ClientLeft = 60
ClientTop = 348
ClientWidth = 5100
LinkTopic = "Form1"
ScaleHeight = 3492
ScaleWidth = 5100
StartUpPosition = 3 '窗口缺省
Begin VB.ListBox List1
Height = 3108
Left = 120
TabIndex = 1
Top = 120
Width = 3375
End
Begin VB.CommandButton Command1
Caption = "开始举例"
Height = 495
Left = 3600
TabIndex = 0
Top = 120
Width = 1335
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()
List1.Clear
EnumWindows AddressOf EnumWindowsProc, 0&
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?