Hello Dieter,
You can get the subitem of NTreeList when the user click on it by the following way:
//Attach to MouseUp event
nTreeList1.MouseUp +=
new MouseEventHandler(nTreeList1_MouseUp);...
void
nTreeList1_MouseUp(object sender, MouseEventArgs e){
NTreeListNode node = (NTreeListNode)nTreeList1.ItemFromPoint(new NPoint(e.Location)); for (int i = 0; i < node.SubItems.Count; i++) {
Rectangle r = node.SubItems[i].ViewBounds.ToRectangle(); if (r.Contains(e.Location)) {
subItem = node.SubItems[i];
return; }
}
}
Regards,
Angel.