Floppy Posted April 19, 2009 Posted April 19, 2009 (edited) #include <GuiConstants.au3> #Include <GuiTreeView.au3> $gui = GUICreate('', 200, 200) $l=GUICtrlCreateTreeView(10,10,100,50) GUICtrlCreateTreeViewItem('test1',$l) GUICtrlCreateTreeViewItem('test2',$l) GUISetState() While 1 $m=GUIGetMsg() Select Case $m=$GUI_EVENT_CLOSE ExitLoop Case $m=$l $mm=_GUICtrlTreeView_Index($l,_GUICtrlTreeView_GetSelection($l)) MsgBox(0,'',$mm) EndSelect WEnd Why it doesn't work? Edited April 19, 2009 by FSoft
Developers Jos Posted April 19, 2009 Developers Posted April 19, 2009 $list_view3 ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Floppy Posted April 19, 2009 Author Posted April 19, 2009 $list_view3 ?Sorry, I made a mistake during copy&paste. However, the script doesn't work!
trancexx Posted April 19, 2009 Posted April 19, 2009 You need to focus on items, not treeview. ♡♡♡ . eMyvnE
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now