>Hi Sylvain,
>
>I have a programmers help file and a working example showing exactly what you want on my web site as well as a link to David F's site where he has another example of a treeview
>
>
http://www.semo.net/suburb/thornton/visual.html>
>enjoy
>
>>Hi everyone!
>>
>>I'm trying to check if the user right-clicked on a node, but I can't find anything. There is no NodeRightClick event, and the NodeClick doesn't provide which button was pressed. The MouseUp event does not seem to fire if I click/right-click on a node, only if I click somewhere else in the TreeView. MDOWN() won't allow me to distinguish between left and right click.
>>
>>Suggestions?
>>
>>Thanks!
*------------------------------------------------------
assuming you are using microsoft treeview control ...
if you are checking for thisform.tv.rightclick()
you are checking for the activeX event. you need
to check the event for the container.
i.e. thisform.tv.object.rightclick()
you can still use the currentnode property of the
treeview control to determine which node was selected
*------------------------------------------------------
patrick