为简洁计,用list控件,不知可否
#AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GUIListBox.au3>
#include <GuiConstantsEx.au3>
#include <Constants.au3>
_Main()
Func _Main()
Local $hListBox
; Create GUI
GUICreate("List Box Dir", 400, 296)
$hListBox = GUICtrlCreateList("", 2, 2, 200, 200)
GUISetState()
; Add files
_GUICtrlListBox_BeginUpdate($hListBox)
_GUICtrlListBox_Dir($hListBox, @WindowsDir & "\*.exe")
_GUICtrlListBox_EndUpdate($hListBox)
; Loop until user exits
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
GUIDelete()
EndFunc ;==>_Main |