Hi, there,
i added a context menu on a treeview, using
TreeView tv = new TreeView();
//add nodes
tv.nodes.Add(new TreeNode());
.....
.....
.....
//add context menu
ContextMenu ContextMenu1 = new ContextMenu();
ContextMenu1.MenuItems.Add(new MenuItem());
tv.ContextMenu = ContextMenu1
however ContextMenu is shown everywhere when I tap and hold in the treeveiw.
what i want is the ContextMenu is only shown on the nodes I selected ,
rather than every where in the treeview.
I know it is easy to do it in .net 1.1, but what i want is on .net Compact
Framework,
help please
Regards
Nick