回复 2# happytc
代码类似:#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <TreeViewConstants.au3>
#include <StaticConstants.au3>
#include <GuiListView.au3>
#include <GUIConstantsEx.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>
#Include <GuiTreeView.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 615, 438, 192, 124)
$TreeView1 = GUICtrlCreateTreeView(24, 32, 225, 297)
GUICtrlCreateTreeViewItem("11111", $TreeView1)
GUICtrlCreateTreeViewItem("22222", $TreeView1)
$xixi = GUICtrlCreateTreeViewItem("33333", $TreeView1)
GUICtrlCreateTreeViewItem("44444", $xixi)
GUICtrlCreateTreeViewItem("11111", $xixi)
GUICtrlCreateTreeViewItem("哈哈", $xixi)
GUICtrlCreateTreeViewItem("77777", $xixi)
$Input1 = GUICtrlCreateInput("树上点击的节点内容", 264, 32, 281, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|