sshrum Posted June 6, 2005 Share Posted June 6, 2005 You know, like folders and such like in Windows Exploder I'm noticing that the help file is a bit incomplete in regards to the treeview control. TIA Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
Holger Posted June 6, 2005 Share Posted June 6, 2005 i.e.: $tree = GUICtrlCreateTreeView(....... GUICtrlSetImage(-1,"shell32.dll",3,4); set an icon for the nonselected state in the tree GUICtrlSetImage(-1,"shell32.dll",4,2); set an icon for the selected state in the tree Also you could also define later seperate icons for the items with: $item = GUICtrlCreateTreeViewItem(...... GUICtrlSetImage(-1,filename,iconID) So long... Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
sshrum Posted June 6, 2005 Author Share Posted June 6, 2005 Perfect...thanx Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
sshrum Posted June 6, 2005 Author Share Posted June 6, 2005 Just one thought...how about an 'expanded' and 'collapsed' icon definition as well (if it doesn't exist already). When I click on the + to expand a branch, the icon doesn't change unless I actually select the entry next to the plus (now a minus). Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' 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