TreeViewNodes - Hide/Show/Enable/Disable ?

BlitzMax Forums/MaxGUI Module/TreeViewNodes - Hide/Show/Enable/Disable ?

Gabriel(Posted 2007) [#1]
I have a treeview with a lot of nested nodes in it which I would like to manipulate according to various outside factors. I can't seem to get EnableGadget or DisableGadget to work the nodes at all ( they crash MaxGUI ) and HideGadget/ShowGadget seem to get ignored. I can't use EnableGadgetItem/DisableGadgetItem because the nodes appear to be Gadgets, not items, and because SelectedTreeViewNode returns a gadget, not an integer.

Can I do anything with them? Some of the nodes are not applicable at certain times and it seems very amateurish to have them selectable when they're not applicable. At the same time, deleting and recreating them is a pretty ugly hack.