Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
right click context menu isn't based on item cursor is hovering over
posted

I'm not sure if this is the correct forums, please move if necessary.

 

I am using the UltraTreeView and when right click a tre item that is not selected. I need to tell the control what the currently hovered over item is without reseting the currently selected items.

For instance rows 2,3, and 5 are selected and user rights click on row 3. So when I show the context menu on right click it should be based row 3.

 When I only have 1 item selected its easy by setting the selected node to the node the cursur is hanging over, but when multiple nodes are selected I need a way to tell the menu which item the context menu should be based on.

 Any ideas?

Thanks,

Nick