S
Sonia Igla
Hi. I need to perform DBLCLK on TreeView Node.
I try the following:
[DllImport("user32.dll")]
private static extern int SendMessage(IntPtr hWnd, uint msg, UInt32 wParam,
UInt32 lParam);
private const UInt32 WM_LBUTTONDBLCLK = 0x203;
pTreeNode.TreeView.SelectedNode = pTreeNode;
UInt32 pos = (UInt32)pTreeNode.Bounds.X;
pos |= (UInt32)pTreeNode.Bounds.Y;
SendMessage(pTreeNode.TreeView.Handle,WM_LBUTTONDBLCLK,0,pos);
But don't get response in TreeView.DoubleClick event.
Help me please with this question.
Sonia.
I try the following:
[DllImport("user32.dll")]
private static extern int SendMessage(IntPtr hWnd, uint msg, UInt32 wParam,
UInt32 lParam);
private const UInt32 WM_LBUTTONDBLCLK = 0x203;
pTreeNode.TreeView.SelectedNode = pTreeNode;
UInt32 pos = (UInt32)pTreeNode.Bounds.X;
pos |= (UInt32)pTreeNode.Bounds.Y;
SendMessage(pTreeNode.TreeView.Handle,WM_LBUTTONDBLCLK,0,pos);
But don't get response in TreeView.DoubleClick event.
Help me please with this question.
Sonia.