TreeView Icons

Archives Forums/MacOS X Discussion/TreeView Icons

Ralf61(Posted 2008) [#1]
I have a strange problem with Treeview under MacOS (under Windows the same source code runs without errors):

I have a treeview in which each node has an icon. Which icon a node has, depends on the node. As long as a node has child nodes I give the node an icon like a folder, is it a child node, i give the child an icon depending on the filetype.

The strange thins now is, as long as there is no child icon visible, the nodes that are visible showing folder icons or no icons at all. if i epand a node and some child icons are visible (with different icon) all (and i mean all) nodes in the tree show the icon of the child.

This is really strange because, as i already said, same code unter windows works.

Does anybody experienced the same problems?