#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <TreeViewConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 623, 347, 209, 152)
$TreeView1 = GUICtrlCreateTreeView(8, 72, 169, 265, BitOR($TVS_HASBUTTONS, $TVS_HASLINES, $TVS_LINESATROOT, $TVS_DISABLEDRAGDROP, $TVS_SHOWSELALWAYS), $WS_EX_CLIENTEDGE)
$ListView1 = GUICtrlCreateListView("名称 |路径", 184, 72, 433, 265)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 270)
$run = GUICtrlCreateTreeViewItem("About", $TreeView1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $run
MsgBox(0, '', "a")
EndSwitch
WEnd
|