Not directly, but check out the thread
TreeView Control - Disable node Thread #
816771 Message #
816771 for alternative solutions
>I'm using a treeview as an alternative to a menu.
>
>Like in a menu, some items are not always available, and should be disabled and enabled according to rules in the program.
>
>Is this possible?
>
>TIA
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison