md9 Posted May 20, 2008 Share Posted May 20, 2008 I have a tree control in a window (with a handle 0x0007068A,) and when I open up the tree node, all the children have the same handle. Which makes it difficult to capture individual items, Also using _GUICtrlTreeView_GetChildCount on this node would result in -1. Only thing that changes is the mouse coordinates when I check using AUTO IT Window Info. Did someone face this issue before, Is there a work around? none of the API call work without a windows. Any help is going to be very helpful. - MD Link to comment Share on other sites More sharing options...
Siao Posted May 21, 2008 Share Posted May 21, 2008 Do you see anywhere in the documentation of _GUICtrlTreeView_GetFirstItem being said that it works for anything else than one very specific purpose - getting the first item of entire treeview? To walk through the child items of a parent item, there are _GUICtrlTreeView_GetFirstChild/_GUICtrlTreeView_GetNextChild "be smart, drink your wine" 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