Enforcer Posted January 11, 2008 Share Posted January 11, 2008 I have treeview control im my program, and for example I need to show MSG BOX when i'm doubleclicking on item in that tree view... Key-loop in my program... $active = 0 While 1 $nMsg = GUIGetMsg() $iTreeInd = GUICtrlRead($TreeView1) For $i = 1 To $counter If $iTreeInd = $treeItem[$i][0] Then If $iTreeInd = $active Then Exitloop $active = $iTreeInd MsgBox(0,"TEST",$treeItem[$i][0]) Exitloop Endif Next Select Case $nMsg = $GUI_EVENT_CLOSE Exit EndSelect WEnd [RU] Zone Link to comment Share on other sites More sharing options...
Zedna Posted January 11, 2008 Share Posted January 11, 2008 It's on the forum. Just search for: +doubleclick +treeview Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
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