|Finding what is under the cursor in context popup [message #771982]
||Wed, 28 December 2011 12:56
| John Lussmyer
Registered: December 2010
I have a context menu in a TreeView. This menu has a item to create a new tree node.|
When the Handler gets called from the menu, I can get the ISelection and get the selected node in the tree.
So this lets me create child nodes just fine.
The problem is when I want to create a new node off the root.
i.e. Right-click in blank area at bottom of tree.
The selection doesn't change, so I can't use selection.
How do I determine that the right-click happened over no node?
Powered by FUDForum
. Page generated in 0.01995 seconds