Rofellos Posted December 14, 2010 Share Posted December 14, 2010 (edited) Almost all the functions in GuiTreeView.au3 that return the item handle, requests the item handle as parameter. It makes no sense to me.... ; #FUNCTION# ==================================================================================================================== ; Name...........: _GUICtrlTreeView_GetItemByIndex ; Description ...: Retrieve a item by its position in the list of child items ; Syntax.........: _GUICtrlTreeView_GetItemByIndex($hWnd, $hItem, $iIndex) ; Parameters ....: $hWnd - Handle to the control ; $hItem - Handle to the item ; $iIndex - Zero based index of item in the list of child items ; Return values .: Success - Handle of the item ; Failure - 0 ; Author ........: Paul Campbell (PaulIA) ; Modified.......: ; Remarks .......: ; Related .......: _GUICtrlTreeView_Index ; Link ..........: ; Example .......: Yes ; =============================================================================================================================== Edited December 14, 2010 by Rofellos Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 14, 2010 Share Posted December 14, 2010 $hItem is the parent, and it returns the child. Look at the example and you'll see. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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