本帖最后由 病毒专收员 于 2010-12-20 11:09 编辑 #include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 623, 449, 192, 114)
$ListView1 = GUICtrlCreateListView("test", 8, 8, 602, 430)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 50)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
For $i = 0 To 10 Step + 1
GUICtrlCreateListViewItem ( "文本"&$i, $ListView1 )
Next
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
请教如何 遍历 ListView 内的内容?
如何取得 ListView内有多少行内容?
如何取得 ListView内某一条内容在多少行? |