hide/disable treeview node?

BlitzMax Forums/BlitzMax Beginners Area/hide/disable treeview node?

is it possible to hide/disable a treeview node?
i was hoping that something like this would work:
DisableGadgetItem(treeView, 2)

but that gives me an 'Invalid Gadget type' - any ideas?

http://www.blitzbasic.com/codearcs/codearcs.php?code=1765
http://www.blitzbasic.com/codearcs/codearcs.php?code=1653

Maybe some functions can be useful - but I dont' know if is possibile (usually) disable an item in a treenode.

no hide/disable?

that's too bad, after a lot of tweaking though, i think i found a workaround using some code from your first link.

looking dirty, but it seems to be working, thanks degac!