>>I can't believe there's no RightCLick event in the MS TreeView control.
>>
>>Does anyone know of a good alternative TreeView control that might support this? I don't mind buying one...
>
>Have you tried MouseUp or MouseDown events in the Treeview?
>
>They both have a button parameter, which can tell you if the right mouse button was clicked (I think button = 2).
>
Right, but the MouseUp event doesn't fire over a node, only over ablank part of the control. Luckily the Mousedown event behaves as expected, so I can store the mousebutton in that event, and check it in the NodeClick, which fires for both the left and right mouse buttons.
I can't believe that such critical events were left out of an otherwise well thought-out control.
Erik Moore
Clientelligence