The control sends a "stateclick" event every time a state icon is clicked. So you'll have to expand or contract the branches every time that happens. General help on using icons is in the FAQ in the help file. The specific commands for the TreeView are in the TreeView help section.
Scoring disabled. You must be logged in to score posts.