# GuiTreeView user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <GuiTreeView.au3>.

User Defined Function | Description
--- | ---
_GUICtrlTreeView_Add | Adds a new item
_GUICtrlTreeView_AddChild | Adds a new item
_GUICtrlTreeView_AddChildFirst | Adds a new item
_GUICtrlTreeView_AddFirst | Adds a new item
_GUICtrlTreeView_BeginUpdate | Prevents updating of the control until the EndUpdate function is called
_GUICtrlTreeView_ClickItem | Click on a item
_GUICtrlTreeView_Create | Create a TreeView control
_GUICtrlTreeView_CreateDragImage | Creates a dragging bitmap for the specified item
_GUICtrlTreeView_CreateSolidBitMap | Creates a solid color bitmap
_GUICtrlTreeView_Delete | Removes an item and all its children
_GUICtrlTreeView_DeleteAll | Removes all items from a tree-view control
_GUICtrlTreeView_DeleteChildren | Deletes all children of a item
_GUICtrlTreeView_Destroy | Delete the control
_GUICtrlTreeView_DisplayRect | Returns the bounding rectangle for a tree item
_GUICtrlTreeView_DisplayRectEx | Returns the bounding rectangle for a tree item
_GUICtrlTreeView_EditText | Begins in-place editing of the specified item's text
_GUICtrlTreeView_EndEdit | Ends the editing of the item's text
_GUICtrlTreeView_EndUpdate | Enables screen repainting that was turned off with the BeginUpdate function
_GUICtrlTreeView_EnsureVisible | Ensures that a item is visible, expanding the parent item or scrolling the control if necessary
_GUICtrlTreeView_Expand | Expands or collapses the list of child items associated with the specified parent item, if any
_GUICtrlTreeView_ExpandedOnce | Indicates if the item's list of child items has been expanded at least once
_GUICtrlTreeView_FindItem | Retrieves a item based on it's text
_GUICtrlTreeView_FindItemEx | Retrieves a item based on a tree path
_GUICtrlTreeView_GetBkColor | Retrieve the text back color
_GUICtrlTreeView_GetBold | Indicates if the item is drawn in a bold style
_GUICtrlTreeView_GetChecked | Indicates if a item has its checkbox checked
_GUICtrlTreeView_GetChildCount | Retrieves the number of children of an parent item
_GUICtrlTreeView_GetChildren | Indicates whether the item children flag is set
_GUICtrlTreeView_GetCount | Retrieves a count of the items
_GUICtrlTreeView_GetCut | Indicates if the item is drawn as if selected as part of a cut and paste operation
_GUICtrlTreeView_GetDropTarget | Indicates whether the item is drawn as a drag and drop target
_GUICtrlTreeView_GetEditControl | Retrieves the handle to the edit control being used to edit a item's text
_GUICtrlTreeView_GetExpanded | Indicates whether the item is expanded
_GUICtrlTreeView_GetFirstChild | Retrieves the first child item of the specified item
_GUICtrlTreeView_GetFirstItem | Retrieves the topmost or very first item
_GUICtrlTreeView_GetFirstVisible | Retrieves the first visible item in the control
_GUICtrlTreeView_GetFocused | Indicates whether the item has focus
_GUICtrlTreeView_GetHeight | Retrieves the current height of the each item
_GUICtrlTreeView_GetImageIndex | Retrieves the normal state image index
_GUICtrlTreeView_GetImageListIconHandle | Retrieve ImageList handle
_GUICtrlTreeView_GetIndent | Retrieves the amount, in pixels, that child items are indented relative to their parent items
_GUICtrlTreeView_GetInsertMarkColor | Retrieves the color used to draw the insertion mark
_GUICtrlTreeView_GetISearchString | Retrieves the incremental search string
_GUICtrlTreeView_GetItemByIndex | Retrieve a handle to a item by its position
_GUICtrlTreeView_GetItemHandle | Retrieve the item handle
_GUICtrlTreeView_GetItemParam | Retrieves the application specific value of the item
_GUICtrlTreeView_GetLastChild | Retrieves the last child item of the specified item
_GUICtrlTreeView_GetLastItem | Retrieves the last item in the control
_GUICtrlTreeView_GetLineColor | Retrieve the line color
_GUICtrlTreeView_GetNext | Retrieves the next item after the calling item
_GUICtrlTreeView_GetNextChild | Returns the next item at the same level as the specified item
_GUICtrlTreeView_GetNextSibling | Returns the next item at the same level as the specified item
_GUICtrlTreeView_GetNextVisible | Retrieves the next visible item that follows the specified item
_GUICtrlTreeView_GetNormalImageList | Retrieves the normal image list
_GUICtrlTreeView_GetParentHandle | Retrieve the parent handle of item
_GUICtrlTreeView_GetParentParam | Retrieve the parent control ID/Param of item
_GUICtrlTreeView_GetPrev | Retrieves the previous item before the calling item
_GUICtrlTreeView_GetPrevChild | Retrieves the previous child item of a specified item
_GUICtrlTreeView_GetPrevSibling | Returns the previous item before the calling item at the same level
_GUICtrlTreeView_GetPrevVisible | Retrieves the first visible item that precedes the specified item
_GUICtrlTreeView_GetScrollTime | Retrieves the maximum scroll time
_GUICtrlTreeView_GetSelected | Indicates whether the item appears in the selected state
_GUICtrlTreeView_GetSelectedImageIndex | Retrieves the index in the image list of the image displayed for the item when it is selected
_GUICtrlTreeView_GetSelection | Retrieves the currently selected item
_GUICtrlTreeView_GetSiblingCount | Retrieves the number of siblings at the level of an item
_GUICtrlTreeView_GetState | Retrieve the state of the item
_GUICtrlTreeView_GetStateImageIndex | Retrieves the index of the state image to display for the item
_GUICtrlTreeView_GetStateImageList | Retrieves the handle to the state image list
_GUICtrlTreeView_GetText | Retrieve the item text
_GUICtrlTreeView_GetTextColor | Retrieve the text color
_GUICtrlTreeView_GetToolTips | Retrieves the handle to the child ToolTip control
_GUICtrlTreeView_GetTree | Retrieve all items text
_GUICtrlTreeView_GetUnicodeFormat | Retrieves the Unicode character format flag
_GUICtrlTreeView_GetVisible | Indicates whether the item is currently visible in the control image
_GUICtrlTreeView_GetVisibleCount | Returns the number of items that can be fully visible in the control
_GUICtrlTreeView_HitTest | Returns information about the location of a point relative to the control
_GUICtrlTreeView_HitTestEx | Returns information about the location of a point relative to the control
_GUICtrlTreeView_HitTestItem | Returns the item at the specified coordinates
_GUICtrlTreeView_Index | Retrieves the position of the item in the list
_GUICtrlTreeView_InsertItem | Insert an item
_GUICtrlTreeView_IsFirstItem | Indicates whether the tree item is very first
_GUICtrlTreeView_IsParent | Indicates whether one item is the parent of another item
_GUICtrlTreeView_Level | Indicates the level of indentation of a item
_GUICtrlTreeView_SelectItem | Selects the specified item, scrolls the item into view, or redraws the item
_GUICtrlTreeView_SelectItemByIndex | Selects the item based on it's index in the parent list
_GUICtrlTreeView_SetBkColor | Sets the back color
_GUICtrlTreeView_SetBold | Sets whether the item is drawn using a bold sytle
_GUICtrlTreeView_SetChecked | Sets whether a item has it's checkbox checked or not
_GUICtrlTreeView_SetCheckedByIndex | Sets whether an item has it's checkbox checked or not by it's index
_GUICtrlTreeView_SetChildren | Sets whether the item children flag
_GUICtrlTreeView_SetCut | Sets whether the item is drawn as if selected as part of a cut and paste operation
_GUICtrlTreeView_SetDropTarget | Sets whether the item is drawn as a drag and drop target
_GUICtrlTreeView_SetFocused | Sets whether the item appears to have focus
_GUICtrlTreeView_SetHeight | Sets the height of the each item
_GUICtrlTreeView_SetIcon | Set an item icon
_GUICtrlTreeView_SetImageIndex | Sets the index into image list for which image is displayed when a item is in its normal state
_GUICtrlTreeView_SetIndent | Sets the width of indentation for a tree-view control and redraws the control to reflect the new width
_GUICtrlTreeView_SetInsertMark | Sets the insertion mark
_GUICtrlTreeView_SetInsertMarkColor | Sets the color used to draw the insertion mark
_GUICtrlTreeView_SetItemHeight | Sets the height of an individual item
_GUICtrlTreeView_SetItemParam | Sets the value specific to the item
_GUICtrlTreeView_SetLineColor | Sets the line color
_GUICtrlTreeView_SetNormalImageList | Sets the normal image list for the control
_GUICtrlTreeView_SetScrollTime | Sets the maximum scroll time
_GUICtrlTreeView_SetSelected | Sets whether the item appears in the selected state
_GUICtrlTreeView_SetSelectedImageIndex | Sets the selected image index
_GUICtrlTreeView_SetState | Set the state of the specified item
_GUICtrlTreeView_SetStateImageIndex | Sets the index into image list for the state image
_GUICtrlTreeView_SetStateImageList | Sets the state image list for the control
_GUICtrlTreeView_SetText | Set the text of an item
_GUICtrlTreeView_SetTextColor | Sets the text color
_GUICtrlTreeView_SetToolTips | Sets the handle to the child ToolTip control
_GUICtrlTreeView_SetUnicodeFormat | Sets the Unicode character format flag
_GUICtrlTreeView_Sort | Sorts the items