K
karthee
I am creating a custom treeview with multiple selection, if i select
multiple nodes and right click, the selection is disappearing,
i tried with somany things like
on mouse click my code is like this
if (e.Button != MouseButtons.Right)
{
if (ModifierKeys == Keys.None &&
(m_SelectedNodes.Contains(node)))
{
// Potential Drag Operation
// Let Mouse Up do select
}
else
{
SelectNode(node);
}
}
*m_SelectedNodes is the list of selected nodes.
but this is is not working... :-(
multiple nodes and right click, the selection is disappearing,
i tried with somany things like
on mouse click my code is like this
if (e.Button != MouseButtons.Right)
{
if (ModifierKeys == Keys.None &&
(m_SelectedNodes.Contains(node)))
{
// Potential Drag Operation
// Let Mouse Up do select
}
else
{
SelectNode(node);
}
}
*m_SelectedNodes is the list of selected nodes.
but this is is not working... :-(