tbaror Posted May 2, 2008 Posted May 2, 2008 hello, i am writing a function that creating tree gui for computer list and i would like to add an icon for each computer appearing in the tree is it possible ?. please advice thanks $ClentL = GUICtrlCreateTreeView(32, 192, 225, 401, BitOr(256,55)) GUICtrlSetFont($ClentL, 8, 800, 0, "MS Sans Serif") ;*****************************Dispaly client /server tree ********************** Func DispComputers($strComuterLis) Dim $tTreeArr[1] For $i = 0 to UBound($strComuterLis) - 1 $tTreeArr[$i] = GUICtrlCreateTreeViewItem($strComuterLis[$i],$ClentL) ReDim $tTreeArr[$i + 2] Next EndFunc
rasim Posted May 2, 2008 Posted May 2, 2008 See in help file:GUICtrlSetImage()_GUICtrlTreeView_SetIcon()
Zedna Posted May 2, 2008 Posted May 2, 2008 Also look at Image_List functions - GuiImageList & GUITreeView standard includes _GUICtrlTreeView_SetImageIndex() 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