Rofellos 4 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 Share this post Link to post Share on other sites
AdmiralAlkex 125 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 Share this post Link to post Share on other sites