In the MouseUp event of the treeview, conduct a HitTest to see if you are over a node, and if you are, then show the menu. eg:
[code]
Set lItem = Treeview1.HitTest( X, Y)
If Not lItem is Nothing then
PopUpMenu MenuName1, , X, Y
End If
[code]
I didn't plug that through VB, so I may have got my parameteres in the wrong order, but you get the drift
cheers
- gaffa
