Conditional Context Menu

  • Thread starter Thread starter Jeronimo Bertran
  • Start date Start date
J

Jeronimo Bertran

I am trying to conditionally show a context menu for a TreeView control....
I assigned the contextMenu to the TreeView, when the use clics on a node I
want to show the appropiate menu for the type of node the user clicked
on... however if the user right-clics on the treeview space but not on a
particular node, then I don't want to show the context menu.. this is the
same behaviour that the Windows Explorer has for its treeview.

Thanks,

Jeronimo
 
Back
Top