Jump to content
Sign in to follow this  
sshrum

Possible? Define icons for treeview entries

Recommended Posts

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...

Share this post


Link to post
Share on other sites

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'

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...