kui Posted June 4, 2007 Posted June 4, 2007 I have Java application open. The tree view structure in the left pane: + px + platform + core I want to expend the tree view px in left pane. The code below run with exit code: 0. But I do not see any action in application and tree view does not get expanded. #Include <GuiTreeView.au3> WinWaitActive("Studio") $treeview = GUICtrlCreateTreeView(128, 128, 1024, 768) $px = GUICtrlCreateTreeViewitem("px", $treeview) _GUICtrlTreeViewExpand($px, 1) Please help! Thanks. Kui
Zedna Posted June 4, 2007 Posted June 4, 2007 Download Auto3Lib and use something like this:#include <A3LTreeView.au3> $hTree = ControlGetHandle("Title", "", "SysTreeView321") if @Error then _Lib_ShowError("Unable to find TreeView window") $hNode = _TreeView_FindNode($hTree, "px") if $hNode = 0 then _Lib_ShowError('Unable to find "px" item') _TreeView_Expand($hTree, $hNode) Resources UDF ResourcesEx UDF AutoIt Forum Search
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