本帖最后由 afan 于 2009-7-24 01:37 编辑
找到那个UDF了~ #include 'ListView_Progress.au3'
$Form1 = GUICreate("列表框实例", 281, 272, 388, 274)
$Button1 = GUICtrlCreateButton("OK", 104, 208, 65, 33, 0)
$ListView1 = GUICtrlCreateListView("分区|容量|空闲情况", 16, 8, 250, 150)
_GUICtrlListView_SetColumnWidth(-1, 2, 130)
$item1 = GUICtrlCreateListViewItem("C:|20G|", $ListView1)
$1 = _ListView_InsertProgressBar($ListView1, 0, 2)
GUISetState()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Progress_SetPos($1, 20)
EndSwitch
WEnd
ok~ 具体的进度显示慢慢看UDF吧,呵呵~ |