I have a couple of buttons in a ContextMenu (of an ultratoolbarmanager).
What i want to do is, when the user right-clicks in empty space of the tree, a couple of the buttons in the context-menu should be disabled.
The problem is, there is _always_ an active node. I tried using the MouseDown event, and check if there is a node for the X-Y coordinates. If there isn't a node, set the ActiveNode = null. However, this doesn't work!
I'm not sure I understand. Why base it on the ActiveNode? Why not base it on the node the mouse is over?